alogos.systems.cfggp.representation¶
Representations for CFG-GP.
Classes¶
CFG-GP genotype. |
|
CFG-GP individual having a CFG-GP genotype. |
|
CFG-GP population consisting of CFG-GP individuals. |
Detailed object descriptions¶
- class alogos.systems.cfggp.representation.Genotype(data)[source]¶
Bases:
alogos.systems._shared.representation.BaseGenotypeCFG-GP genotype.
- __init__(self, data)[source]¶
Create a CFG-GP genotype with immutable data.
- Parameters:
data (
DerivationTree, orstrrepresentation of it) – If the provided data is of typestrit is automatically converted to a tree.- Raises:
GenotypeError – If the provided data can not be converted to the desired form.
- class alogos.systems.cfggp.representation.Individual(genotype=None, phenotype=None, fitness=float('nan'), details=None)[source]¶
Bases:
alogos.systems._shared.representation.BaseIndividualCFG-GP individual having a CFG-GP genotype.
- class alogos.systems.cfggp.representation.Population(individuals)[source]¶
Bases:
alogos.systems._shared.representation.BasePopulationCFG-GP population consisting of CFG-GP individuals.