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