geneticengine.representations.api ================================= .. py:module:: geneticengine.representations.api Attributes ---------- .. autoapisummary:: geneticengine.representations.api.g geneticengine.representations.api.p Classes ------- .. autoapisummary:: geneticengine.representations.api.Representation geneticengine.representations.api.RepresentationWithMutation geneticengine.representations.api.RepresentationWithCrossover Module Contents --------------- .. py:data:: g .. py:data:: p .. py:class:: Representation Bases: :py:obj:`Generic`\ [\ :py:obj:`g`\ , :py:obj:`p`\ ] .. py:method:: create_genotype(random, **kwargs) :abstractmethod: .. py:method:: genotype_to_phenotype(genotype) :abstractmethod: .. py:class:: RepresentationWithMutation Bases: :py:obj:`Generic`\ [\ :py:obj:`g`\ ] .. py:method:: mutate(random, genotype, **kwargs) :abstractmethod: .. py:class:: RepresentationWithCrossover Bases: :py:obj:`Generic`\ [\ :py:obj:`g`\ ] .. py:method:: crossover(random, parent1, parent2) :abstractmethod: