Class AdditiveEpsilonIndicatorFitnessEvaluator

java.lang.Object
org.moeaframework.core.fitness.IndicatorFitnessEvaluator
org.moeaframework.core.fitness.AdditiveEpsilonIndicatorFitnessEvaluator
All Implemented Interfaces:
FitnessEvaluator

public class AdditiveEpsilonIndicatorFitnessEvaluator extends IndicatorFitnessEvaluator
Indicator-based fitness using the additive ε-indicator.
  • Constructor Details

    • AdditiveEpsilonIndicatorFitnessEvaluator

      public AdditiveEpsilonIndicatorFitnessEvaluator(Problem problem)
      Constructs an additive ε-indicator fitness evaluator.
      Parameters:
      problem - the problem
  • Method Details

    • calculateIndicator

      protected double calculateIndicator(Solution solution1, Solution solution2)
      Description copied from class: IndicatorFitnessEvaluator
      Returns the indicator value relative to the two solutions.
      Specified by:
      calculateIndicator in class IndicatorFitnessEvaluator
      Parameters:
      solution1 - the first solution
      solution2 - the second solution
      Returns:
      the indicator value relative to the two solutions
    • areLargerValuesPreferred

      public boolean areLargerValuesPreferred()
      Description copied from interface: FitnessEvaluator
      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