public class Spread<S extends Solution<?>> extends GenericIndicator<S>
referenceParetoFront| Constructor and Description |
|---|
Spread()
Default constructor
|
Spread(Front referenceParetoFront)
Constructor
|
Spread(String referenceParetoFrontFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(List<S> solutionList)
Evaluate() method
|
String |
getDescription() |
String |
getName() |
boolean |
isTheLowerTheIndicatorValueTheBetter()
This method returns true if lower indicator values are preferred and false otherwise
|
double |
spread(Front front,
Front referenceFront)
Calculates the Spread metric.
|
setReferenceParetoFront, setReferenceParetoFrontsetDescription, setName, toStringpublic Spread()
public Spread(String referenceParetoFrontFile) throws FileNotFoundException
referenceParetoFrontFile - FileNotFoundExceptionpublic Spread(Front referenceParetoFront)
referenceParetoFront - FileNotFoundExceptionpublic Double evaluate(List<S> solutionList)
solutionList - public double spread(Front front, Front referenceFront)
front - The front.referenceFront - The true pareto front.public 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 © 2018. All rights reserved.