All Packages Class Hierarchy This Package Previous Next Index
Class evolution.Evaluator
java.lang.Object
|
+----evolution.Evaluator
- public abstract class Evaluator
- extends Object
- implements BinaryPredicate
Evaluator objects are used by the genetic engine to determine the fitness
of the individuals.
-
Evaluator()
-
-
execute(Object, Object)
- Is x better than y ?
-
value(Individual)
-
Evaluator
public Evaluator()
value
public abstract float value(Individual x)
- Returns:
- a positive floating point number as the fitness value of the individual
execute
public boolean execute(Object x,
Object y)
- Is x better than y ?
- Parameters:
- x - an
Individual
- x - an
Individual
- Returns:
- whether x is fitter than y
All Packages Class Hierarchy This Package Previous Next Index