|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type to which a fitness calculation is to be performed.public interface FitnessCalculator<T>
Perform the calculation of the fitness for the given Entity
, decoupling the
Entity
from the Problem
.
Method Summary | |
---|---|
FitnessCalculator<T> |
getClone()
Create a cloned copy of the current object and return it. |
Fitness |
getFitness(T entity,
boolean count)
Get the fitness, given the position . |
Method Detail |
---|
FitnessCalculator<T> getClone()
getClone
in interface Cloneable
Object.clone()
Fitness getFitness(T entity, boolean count)
position
.
entity
- The Type
to base the calculation on.count
- Whether or not the evaluation is to be counted.
Fitness
object representing the fitness of the position
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |