Public Methods | |
_setErrorFunction (Class, ErrorFunction, Minimize=true) | |
_setTarget (Class, Target) | |
__init__ (self, Gene=None, Generation=0, StepSize=0.1) | |
_mutate (self) | |
evaluate (self) | |
str (self) |
To make the class functional the derived classes will normally override evaluate() (quality evaluation) and may override _mutate() (mutation function called by create()).
|
|
|
Individual step size will be modified randomly and gene vector will be variated by adding a random mutation vector with normal distributed components. The expectation value for the length of the mutation vector is the applied step size (resulting in a hyper-sphere border distribution). |
|
Assign a quality evaluation function (used by evaluate()) to the class. Argument may be either a function or a OptimizationTarget instance.
|
|
Assign a quality evaluation function (used by evaluate()) to the class. |
|
Do the mapping from the genotype _gene to phenotype _phene assign a quality (fitness) _q Quality function defaults to hyper sphere target with optimum in the Origin. See also setErrorFunction(). Reimplemented from Es::EsObjectBase. |
|
|