Package org.moeaframework.core.indicator
Class RIndicator
java.lang.Object
org.moeaframework.core.indicator.NormalizedIndicator
org.moeaframework.core.indicator.RIndicator
- Direct Known Subclasses:
- R1Indicator,- R2Indicator,- R3Indicator
Abstract class for implementing R indicator functions.
 
References:
- Hansen, M. P. and A. Jaszkiewicz (1998). Evaluating the Quality of Approximations to the Non-dominated Set. IMM Technical Report IMM-REP-1998-7.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classChebyshev (also referred to as Chebychev or Tchebycheff) utility function.static classLinear-weighted sum utility function.static interfaceInterface for defining utility functions.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected RIndicator.UtilityFunctionThe utility function used by the R2 calculation.protected double[][]The weights, typically uniformly distributed.Fields inherited from class org.moeaframework.core.indicator.NormalizedIndicatorproblem
- 
Constructor SummaryConstructorsConstructorDescriptionRIndicator(Problem problem, int subdivisions, NondominatedPopulation referenceSet, Normalizer normalizer, RIndicator.UtilityFunction utilityFunction) Constructs a new R indicator using the specified utility function.
- 
Method SummaryModifier and TypeMethodDescriptiondoubleexpectedUtility(NondominatedPopulation population) Computes the expected utility for the given population.static intgetDefaultSubdivisions(Problem problem) Returns the default number of subdivisions for a given problem.Methods inherited from class org.moeaframework.core.indicator.NormalizedIndicatorgetNormalizedReferenceSet, normalize
- 
Field Details- 
utilityFunctionThe utility function used by the R2 calculation.
- 
weightsprotected double[][] weightsThe weights, typically uniformly distributed.
 
- 
- 
Constructor Details- 
RIndicatorpublic RIndicator(Problem problem, int subdivisions, NondominatedPopulation referenceSet, Normalizer normalizer, RIndicator.UtilityFunction utilityFunction) Constructs a new R indicator using the specified utility function.- Parameters:
- problem- the problem
- subdivisions- the number of subdivisions along each objective
- referenceSet- the reference set
- normalizer- the user-provided normalizer, or- nullif the default is used
- utilityFunction- the utility function
 
 
- 
- 
Method Details- 
expectedUtilityComputes the expected utility for the given population.- Parameters:
- population- the population
- Returns:
- the expected utility
 
- 
getDefaultSubdivisionsReturns the default number of subdivisions for a given problem. The defaults, for an M objective problem, are:- if M=2, then 500
- if M=3, then 30
- if M=4, then 12
- if M=5, then 8
- else 3
 - Parameters:
- problem- the problem
- Returns:
- the default number of subdivisions for a given problem
 
 
-