MOEA Framework 2.12
API Specification

org.moeaframework.core.indicator
Interface RIndicator.UtilityFunction

All Known Implementing Classes:
RIndicator.ChebychevUtility, RIndicator.LinearWeightedSumUtility
Enclosing class:
RIndicator

public static interface RIndicator.UtilityFunction

Interface for defining utility functions. These utility functions assume the solutions have been normalized.


Method Summary
 double computeUtility(Solution solution, double[] weights)
          Computes the utility of the given solution.
 

Method Detail

computeUtility

double computeUtility(Solution solution,
                      double[] weights)
Computes the utility of the given solution.

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!