|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--gap.DefaultEvaluator
Constructor Summary | |
DefaultEvaluator()
|
Method Summary | |
abstract double |
eval(Executable progr)
Test a single individual and compute its standarized fitness. |
double[] |
eval(Executable[] pop)
Test all the individuals and compute their standarized fitness. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DefaultEvaluator()
Method Detail |
public abstract double eval(Executable progr)
The standarized fitness is 0 for the best individual and bigger for all other individuals.
public double[] eval(Executable[] pop)
The standarized fitness is 0 for the best individual and bigger for all other individuals.
eval
in interface Evaluator
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |