Public Methods | |
__init__ (self, Generation=0) | |
create (self, Generation) | |
_mutate () | |
evaluate (self) | |
quality (self) | |
success (self) | |
relatedness (self, other) | |
pedigree (self) |
Derived classes EsObject and SevObject will implement these in different ways for the different purposes of parameter and structure evolution.
|
|
|
Mutation method (pure virtual) |
|
Factory function returning a mutated instance. |
|
Quality (fitness) evaluation (pure virtual). Derived classes have to do the genotype to phenotype mapping and to evalutate a selection relevant scalar fitness value (quality). The quality has to be assigned to attribute _q, the phenotype may optionally be assigned to _phene. Reimplemented in Es::EsObject. |
|
Recursively descend parents until prime and return them all in a list (not including self). |
|
Return quality (which must have been assigned by call to evaluate()) |
|
|
|
Returns success rate |