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.BaseGenotype
CFG-GP-ST genotype.
- __init__(self, data)[source]¶
Create a CFG-GP-ST genotype with immutable data.
- Parameters:
data (
DerivationTree
, ortuple
representation of it, orstr
representation of it) – If the provided data is of typetuple
orstr
it 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.BaseIndividual
CFG-GP-ST individual having a CFG-GP-ST genotype.
- class alogos.systems.cfggpst.representation.Population(individuals)[source]¶
Bases:
alogos.systems._shared.representation.BasePopulation
CFG-GP-ST population consisting of CFG-GP-ST individuals.