public class GenerationalDistance<S extends Solution<?>> extends GenericIndicator<S>
referenceParetoFront| Constructor and Description |
|---|
GenerationalDistance()
Default constructor
|
GenerationalDistance(Front referenceParetoFront)
Constructor
|
GenerationalDistance(String referenceParetoFrontFile)
Constructor
|
GenerationalDistance(String referenceParetoFrontFile,
double p)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(List<S> solutionList)
Evaluate() method
|
double |
generationalDistance(Front front,
Front referenceFront)
Returns the generational distance value for a given front
|
String |
getDescription() |
String |
getName() |
boolean |
isTheLowerTheIndicatorValueTheBetter()
This method returns true if lower indicator values are preferred and false otherwise
|
setReferenceParetoFront, setReferenceParetoFrontsetDescription, setName, toStringpublic GenerationalDistance()
public GenerationalDistance(String referenceParetoFrontFile, double p) throws FileNotFoundException
referenceParetoFrontFile - p - FileNotFoundExceptionpublic GenerationalDistance(String referenceParetoFrontFile) throws FileNotFoundException
referenceParetoFrontFile - FileNotFoundExceptionpublic GenerationalDistance(Front referenceParetoFront)
referenceParetoFront - public Double evaluate(List<S> solutionList)
solutionList - public double generationalDistance(Front front, Front referenceFront)
front - The frontreferenceFront - The reference pareto frontpublic String getName()
getName in interface DescribedEntitygetName in class SimpleDescribedEntityDescribedEntitypublic String getDescription()
getDescription in interface DescribedEntitygetDescription in class SimpleDescribedEntityDescribedEntitypublic boolean isTheLowerTheIndicatorValueTheBetter()
GenericIndicatorisTheLowerTheIndicatorValueTheBetter in class GenericIndicator<S extends Solution<?>>Copyright © 2017. All rights reserved.