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.


Constructor Index

 o Evaluator()

Method Index

 o execute(Object, Object)
Is x better than y ?
 o value(Individual)

Constructors

 o Evaluator
 public Evaluator()

Methods

 o value
 public abstract float value(Individual x)
Returns:
a positive floating point number as the fitness value of the individual
 o 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