Class Spread
java.lang.Object
org.uma.jmetal.qualityindicator.QualityIndicator
org.uma.jmetal.qualityindicator.impl.Spread
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, Juan J. Durillo
-
Field Summary
Fields inherited from class org.uma.jmetal.qualityindicator.QualityIndicator
referenceFront -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.uma.jmetal.qualityindicator.QualityIndicator
referenceFront, referenceFront
-
Constructor Details
-
Spread
public Spread()Default constructor -
Spread
public Spread(double[][] referenceFront) Constructor- Parameters:
referenceFront-- Throws:
FileNotFoundException
-
-
Method Details
-
newInstance
- Specified by:
newInstancein classQualityIndicator
-
compute
public double compute(double[][] front) Evaluate() method- Specified by:
computein classQualityIndicator- 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
- Specified by:
namein classQualityIndicator
-
description
- Specified by:
descriptionin classQualityIndicator
-
isTheLowerTheIndicatorValueTheBetter
public boolean isTheLowerTheIndicatorValueTheBetter()Description copied from class:QualityIndicatorReturns true if lower indicator values are preferred and false otherwise- Specified by:
isTheLowerTheIndicatorValueTheBetterin classQualityIndicator
-