|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FitnessFunction
A simple interface to be implemented by any fitness evaluator makes making fitness evaluation classes pluggable. If you want to be one all you have to do is implement the single method defined here.
Method Summary | |
---|---|
boolean |
canCache()
Return true if it is ok to cache the results of the fitness function |
void |
getFitness(Individual i)
Creates a new instance of FitnessEvaluator |
Methods inherited from interface Parameter.ParameterI |
---|
setProperties |
Method Detail |
---|
void getFitness(Individual i)
i
- Evaluated individualboolean canCache()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |