MOEA Framework 2.12
API Specification

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.


Field Summary
static String FITNESS_ATTRIBUTE
          Attribute key for the fitness of a solution.
 
Method Summary
 boolean areLargerValuesPreferred()
          Returns true if larger fitness values are preferred; otherwise smaller fitness values are preferred.
 void evaluate(Population population)
          Evaluates the solutions in the specified population assigning the FITNESS_ATTRIBUTE attribute.
 

Field Detail

FITNESS_ATTRIBUTE

static final String FITNESS_ATTRIBUTE
Attribute key for the fitness of a solution.

See Also:
Constant Field Values
Method Detail

evaluate

void evaluate(Population population)
Evaluates the solutions in the specified population assigning the FITNESS_ATTRIBUTE attribute.

Parameters:
population - the population to be evaluated

areLargerValuesPreferred

boolean areLargerValuesPreferred()
Returns true 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

MOEA Framework 2.12
API Specification

Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!