org.moeaframework.core.indicator
Class RIndicator.LinearWeightedSumUtility
java.lang.Object
org.moeaframework.core.indicator.RIndicator.LinearWeightedSumUtility
- All Implemented Interfaces:
- RIndicator.UtilityFunction
- Enclosing class:
- RIndicator
public static class RIndicator.LinearWeightedSumUtility
- extends Object
- implements RIndicator.UtilityFunction
Utility computed as the sum of the weighted objective values.
Method Summary |
double |
computeUtility(Solution solution,
double[] weights)
Computes the utility of the given solution. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RIndicator.LinearWeightedSumUtility
public RIndicator.LinearWeightedSumUtility()
computeUtility
public double computeUtility(Solution solution,
double[] weights)
- Description copied from interface:
RIndicator.UtilityFunction
- Computes the utility of the given solution.
- Specified by:
computeUtility
in interface RIndicator.UtilityFunction
- Parameters:
solution
- the solutionweights
- the weights for the utility calculation
- Returns:
- the utility of the given solution
Copyright 2009-2016 MOEA Framework. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage. Visit us on Github!