Package org.moeaframework.core.indicator
Class RIndicator.ChebyshevUtility
java.lang.Object
org.moeaframework.core.indicator.RIndicator.ChebyshevUtility
- All Implemented Interfaces:
RIndicator.UtilityFunction
- Enclosing class:
- RIndicator
public static class RIndicator.ChebyshevUtility
extends Object
implements RIndicator.UtilityFunction
Chebyshev (also referred to as Chebychev or Tchebycheff) utility function.
-
Constructor Summary
ConstructorDescriptionConstructs an instance of the Chebyshev utility function. -
Method Summary
Modifier and TypeMethodDescriptiondouble
computeUtility
(Solution solution, double[] weights) Computes the utility of the given solution.
-
Constructor Details
-
ChebyshevUtility
public ChebyshevUtility()Constructs an instance of the Chebyshev utility function.
-
-
Method Details
-
computeUtility
Description copied from interface:RIndicator.UtilityFunction
Computes the utility of the given solution.- Specified by:
computeUtility
in interfaceRIndicator.UtilityFunction
- Parameters:
solution
- the solutionweights
- the weights for the utility calculation- Returns:
- the utility of the given solution
-