Package org.moeaframework.core
Interface FitnessEvaluator
- All Known Implementing Classes:
AdditiveEpsilonIndicatorFitnessEvaluator
,CrowdingDistanceFitnessEvaluator
,HypervolumeContributionFitnessEvaluator
,HypervolumeFitnessEvaluator
,IndicatorFitnessEvaluator
,SPEA2.StrengthFitnessEvaluator
public interface FitnessEvaluator
Evaluates a population and assigns fitness values to its solutions. This class is intended to be used by
indicator-based algorithms.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if larger fitness values are preferred; otherwise smaller fitness values are preferred.void
evaluate
(Population population) Evaluates the fitness of solutions in the population, updating theFitness
attribute.
-
Method Details
-
evaluate
Evaluates the fitness of solutions in the population, updating theFitness
attribute.- Parameters:
population
- the population to be evaluated
-
areLargerValuesPreferred
boolean areLargerValuesPreferred()Returnstrue
if larger fitness values are preferred; otherwise smaller fitness values are preferred.- Returns:
true
if larger fitness values are preferred; otherwise smaller fitness values are preferred
-