Interface FitnessEvaluator<T extends Comparable<T>>
- Type Parameters:
T
-
- All Known Implementing Classes:
FitnessEvaluatorBulkAsync
,FitnessEvaluatorSync
,GPUFitnessEvaluator
public interface FitnessEvaluator<T extends Comparable<T>>
Facade to abstract the various ways that fitnesses could be evaluated
-
Method Summary
Modifier and TypeMethodDescriptionCompute the fitness for a list of genotypesdefault void
default void
-
Method Details
-
preEvaluation
default void preEvaluation() -
postEvaluation
default void postEvaluation() -
evaluate
Compute the fitness for a list of genotypes- Parameters:
genotypes
- Population to evaluate- Returns:
- Their associated fitnesses
-