Class InvertedGenerationalDistance

java.lang.Object
org.moeaframework.core.indicator.NormalizedIndicator
org.moeaframework.core.indicator.InvertedGenerationalDistance
All Implemented Interfaces:
Indicator

public class InvertedGenerationalDistance extends NormalizedIndicator
Inverted generational distance indicator. Represents average distance from solutions in the reference set to the nearest solution in an approximation set.
  • Constructor Details

    • InvertedGenerationalDistance

      public InvertedGenerationalDistance(Problem problem, NondominatedPopulation referenceSet)
      Constructs an inverted generational distance evaluator for the specified problem and corresponding reference set.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
    • InvertedGenerationalDistance

      public InvertedGenerationalDistance(Problem problem, NondominatedPopulation referenceSet, double d)
      Constructs an inverted generational distance evaluator for the specified problem and corresponding reference set.
      Parameters:
      problem - the problem
      referenceSet - the reference set for the problem
      d - the power, typically 1.0
  • Method Details

    • evaluate

      public double evaluate(NondominatedPopulation approximationSet)
      Description copied from interface: Indicator
      Returns the value of this unary quality indicator given the specified non-dominated population.
      Parameters:
      approximationSet - the non-dominated population to be evaluated
      Returns:
      the value of this quality indicator given the specified non-dominated population