public class GeneralizedSpread<S extends Solution<?>> extends GenericIndicator<S>
referenceParetoFront| Constructor and Description |
|---|
GeneralizedSpread()
Default constructor
|
GeneralizedSpread(Front referenceParetoFront)
Constructor
|
GeneralizedSpread(String referenceParetoFrontFile)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Double |
evaluate(List<S> solutionList)
Evaluate() method
|
double |
generalizedSpread(Front front,
Front referenceFront)
Calculates the generalized spread metric.
|
String |
getDescription() |
String |
getName() |
boolean |
isTheLowerTheIndicatorValueTheBetter()
This method returns true if lower indicator values are preferred and false otherwise
|
setReferenceParetoFront, setReferenceParetoFrontsetDescription, setName, toStringpublic GeneralizedSpread()
public GeneralizedSpread(String referenceParetoFrontFile) throws FileNotFoundException
referenceParetoFrontFile - FileNotFoundExceptionpublic GeneralizedSpread(Front referenceParetoFront)
referenceParetoFront - FileNotFoundExceptionpublic Double evaluate(List<S> solutionList)
solutionList - public double generalizedSpread(Front front, Front referenceFront)
double []
and the number of objectives, the method return the value for the
metric.front - The front.referenceFront - The reference 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.