public class R2 extends Object implements QualityIndicator
| Constructor and Description |
|---|
R2()
Creates a new instance of the R2 indicator for a problem with
two objectives and 100 lambda vectors
|
R2(int nVectors)
Creates a new instance of the R2 indicator for a problem with
two objectives and N lambda vectors
|
| Modifier and Type | Method and Description |
|---|---|
double |
execute(Front paretoFrontApproximation,
Front trueParetoFront) |
double |
execute(List<? extends Solution> paretoFrontApproximation,
List<? extends Solution> trueParetoFront) |
String |
getName() |
double |
r2(Front approximation,
Front paretoFront)
Returns the R2 indicator value of a given front
|
public R2()
public R2(int nVectors)
public double execute(Front paretoFrontApproximation, Front trueParetoFront)
execute in interface QualityIndicatorpublic double execute(List<? extends Solution> paretoFrontApproximation, List<? extends Solution> trueParetoFront)
execute in interface QualityIndicatorpublic String getName()
getName in interface QualityIndicatorCopyright © 2015. All rights reserved.