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