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 Type
    Method
    Description
    boolean
    Returns true 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 the Fitness attribute.
  • Method Details

    • evaluate

      void evaluate(Population population)
      Evaluates the fitness of solutions in the population, updating the Fitness 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