Class GeneralizedSpread
java.lang.Object
org.uma.jmetal.qualityindicator.QualityIndicator
org.uma.jmetal.qualityindicator.impl.GeneralizedSpread
This class implements the generalized spread metric for two or more dimensions.
Reference: A. Zhou, Y. Jin, Q. Zhang, B. Sendhoff, and E. Tsang
Combining model-based and genetics-based offspring generation for
multi-objective optimization using a convergence criterion,
2006 IEEE Congress on Evolutionary Computation, 2006, pp. 3234-3241.
- Author:
- Antonio J. Nebro, Juan J. Durillo
-
Field Summary
Fields inherited from class org.uma.jmetal.qualityindicator.QualityIndicator
referenceFront -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorGeneralizedSpread(double[][] referenceFront) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(double[][] front) Evaluate() methoddoublegeneralizedSpread(double[][] front, double[][] referenceFront) Calculates the generalized spread metric.booleanReturns true if lower indicator values are preferred and false otherwisename()Methods inherited from class org.uma.jmetal.qualityindicator.QualityIndicator
referenceFront, referenceFront
-
Constructor Details
-
GeneralizedSpread
public GeneralizedSpread()Default constructor -
GeneralizedSpread
public GeneralizedSpread(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:
-
generalizedSpread
public double generalizedSpread(double[][] front, double[][] referenceFront) Calculates the generalized spread metric. Given the pareto front, the true pareto front asdouble []and the number of objectives, the method return the value for the metric.- Parameters:
front- The front.referenceFront- The reference pareto front.- Returns:
- the value of the generalized spread metric
-
description
- Specified by:
descriptionin classQualityIndicator
-
name
- Specified by:
namein classQualityIndicator
-
isTheLowerTheIndicatorValueTheBetter
public boolean isTheLowerTheIndicatorValueTheBetter()Description copied from class:QualityIndicatorReturns true if lower indicator values are preferred and false otherwise- Specified by:
isTheLowerTheIndicatorValueTheBetterin classQualityIndicator
-