PhenotypeEvaluator<P extends Phenotype<G , R > , G , R extends FitnessResult > class
abstract
Methods
destroy ()
→ void
When evaluators need to dispose of resources. By default, this does
nothing.
evaluate (P phenotype )
→ Future <R >
Takes the phenotype and returns its fitness score. The lower the
fitness score, the better the phenotype. Fitness score of 0.0
means
that the phenotype is perfect.
init ()
→ Future <void >
When evaluators need some work for initialization. By default,
this just returns an immediate Future .
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited