Class Spread

java.lang.Object
org.uma.jmetal.qualityindicator.QualityIndicator
org.uma.jmetal.qualityindicator.impl.Spread

public class Spread extends QualityIndicator
This class implements the spread quality indicator. It must be only applied to two bi-objective problems. Reference: Deb, K., Pratap, A., Agarwal, S., Meyarivan, T.: A fast and elitist multiobjective genetic algorithm: NSGA-II. IEEE Trans. on Evol. Computation 6 (2002) 182-197
Author:
Antonio J. Nebro <antonio@lcc.uma.es>, Juan J. Durillo
  • Constructor Details

    • Spread

      public Spread()
      Default constructor
    • Spread

      public Spread(double[][] referenceFront)
      Constructor
      Parameters:
      referenceFront -
      Throws:
      FileNotFoundException
  • Method Details

    • compute

      public double compute(double[][] front)
      Evaluate() method
      Specified by:
      compute in class QualityIndicator
      Parameters:
      front -
      Returns:
    • spread

      public double spread(double[][] front, double[][] referenceFront)
      Calculates the Spread metric.
      Parameters:
      front - The front.
      referenceFront - The true pareto front.
    • name

      public String name()
      Specified by:
      name in class QualityIndicator
    • description

      public String description()
      Specified by:
      description in class QualityIndicator
    • isTheLowerTheIndicatorValueTheBetter

      public boolean isTheLowerTheIndicatorValueTheBetter()
      Description copied from class: QualityIndicator
      Returns true if lower indicator values are preferred and false otherwise
      Specified by:
      isTheLowerTheIndicatorValueTheBetter in class QualityIndicator