Class Spacing

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

public class Spacing extends Object implements Indicator
Spacing metric. Represents the spread of the Pareto front.
  • Constructor Details

    • Spacing

      public Spacing(Problem problem)
      Constructs a spacing metric evaluator for the specified problem.
      Parameters:
      problem - the problem
  • 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.
      Specified by:
      evaluate in interface Indicator
      Parameters:
      approximationSet - the non-dominated population to be evaluated
      Returns:
      the value of this quality indicator given the specified non-dominated population