public class R2<Evaluate extends List<? extends Solution<?>>> extends SimpleDescribedEntity implements QualityIndicator<Evaluate,Double>
| Constructor and Description |
|---|
R2()
Creates a new instance of the R2 indicator for a problem with
two objectives and 100 lambda vectors
|
R2(Front referenceParetoFront)
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
|
R2(int nVectors,
Front referenceParetoFront)
Creates a new instance of the R2 indicator for a problem with
two objectives and N lambda vectors
|
R2(String file)
Constructor
Creates a new instance of the R2 indicator for nDimensiosn
It loads the weight vectors from the file fileName
|
R2(String file,
Front referenceParetoFront)
Constructor
Creates a new instance of the R2 indicator for nDimensiosn
It loads the weight vectors from the file fileName
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(Evaluate solutionList) |
String |
getName() |
double |
r2(Front front) |
getDescription, setDescription, setName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDescriptionpublic R2(Front referenceParetoFront)
public R2()
public R2(int nVectors)
public R2(String file, Front referenceParetoFront) throws IOException
IOExceptionpublic R2(int nVectors,
Front referenceParetoFront)
public R2(String file) throws IOException
IOExceptionpublic String getName()
getName in interface DescribedEntitygetName in class SimpleDescribedEntityDescribedEntitypublic double r2(Front front)
Copyright © 2017. All rights reserved.