Class ErrorRatio
java.lang.Object
org.uma.jmetal.qualityindicator.QualityIndicator
org.uma.jmetal.qualityindicator.impl.ErrorRatio
The Error Ratio (ER) quality indicator reports the ratio of solutions in a front of points
that are not members of the true Pareto front.
NOTE: the indicator merely checks if the solutions in the front are not members of the
second front. No assumption is made about the second front is a true Pareto front, i.e,
the front could contain solutions that dominate some of those of the supposed Pareto front.
It is a responsibility of the caller to ensure that this does not happen.
- Author:
- Antonio J. Nebro TODO: using an epsilon value
-
Constructor Summary
ConstructorsConstructorDescriptionConstructorErrorRatio(double[][] referenceFront) ConstructorErrorRatio(String referenceFrontFile) Constructor -
Method Summary
Modifier and TypeMethodDescriptiondoublecompute(double[][] front) Evaluate() methodbooleanReturns true if lower indicator values are preferred and false otherwisename()voidreferenceFront(double[][] referenceFront) Methods inherited from class org.uma.jmetal.qualityindicator.QualityIndicator
referenceFront
-
Constructor Details
-
ErrorRatio
public ErrorRatio()Constructor -
ErrorRatio
Constructor- Parameters:
referenceFrontFile-- Throws:
FileNotFoundExceptionIOException
-
ErrorRatio
public ErrorRatio(double[][] referenceFront) Constructor- Parameters:
referenceFront-
-
-
Method Details
-
newInstance
- Specified by:
newInstancein classQualityIndicator
-
compute
public double compute(double[][] front) Evaluate() method- Specified by:
computein classQualityIndicator- Parameters:
front-- Returns:
-
referenceFront
public void referenceFront(double[][] referenceFront) - Overrides:
referenceFrontin classQualityIndicator
-
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
-