MOEA Framework 2.12
API Specification

org.moeaframework.core.indicator
Class RIndicator.LinearWeightedSumUtility

java.lang.Object
  extended by 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.


Constructor Summary
RIndicator.LinearWeightedSumUtility()
           
 
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
 

Constructor Detail

RIndicator.LinearWeightedSumUtility

public RIndicator.LinearWeightedSumUtility()
Method Detail

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 solution
weights - the weights for the utility calculation
Returns:
the utility of the given solution

MOEA Framework 2.12
API Specification

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!