public class R2 extends SimpleDescribedEntity 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
|
getDescription, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionpublic 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 QualityIndicatorgetName in interface DescribedEntitygetName in class SimpleDescribedEntityDescribedEntityCopyright © 2015. All rights reserved.