Package org.moeaframework.core.indicator
Class R1Indicator
java.lang.Object
org.moeaframework.core.indicator.NormalizedIndicator
org.moeaframework.core.indicator.RIndicator
org.moeaframework.core.indicator.R1Indicator
- All Implemented Interfaces:
Indicator
Computes the R1 indicator. The R1 indicator measures the fraction of utility functions where the population is
better than the reference set. Values range from
[0, 1]
with 1
preferred. Note that to
achieve a value of 1
, the population must be better than the reference set with respect to all utility
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 Summary
Nested classes/interfaces inherited from class org.moeaframework.core.indicator.RIndicator
RIndicator.ChebyshevUtility, RIndicator.LinearWeightedSumUtility, RIndicator.UtilityFunction
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
The default value forepsilon
.Fields inherited from class org.moeaframework.core.indicator.RIndicator
utilityFunction, weights
Fields inherited from class org.moeaframework.core.indicator.NormalizedIndicator
problem
-
Constructor Summary
ConstructorDescriptionR1Indicator
(Problem problem, int subdivisions, NondominatedPopulation referenceSet) Constructs a new R1 indicator using the Chebyshev utility function.R1Indicator
(Problem problem, int subdivisions, NondominatedPopulation referenceSet, Normalizer normalizer, RIndicator.UtilityFunction utilityFunction, double epsilon) Constructs a new R1 indicator using the specified utility function. -
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(NondominatedPopulation population) Returns the value of this unary quality indicator given the specified non-dominated population.Methods inherited from class org.moeaframework.core.indicator.RIndicator
expectedUtility, getDefaultSubdivisions
Methods inherited from class org.moeaframework.core.indicator.NormalizedIndicator
getNormalizedReferenceSet, normalize
-
Field Details
-
DEFAULT_EPSILON
public static final double DEFAULT_EPSILONThe default value forepsilon
.- See Also:
-
-
Constructor Details
-
R1Indicator
Constructs a new R1 indicator using the Chebyshev utility function. The default normalization procedure, as specified byDefaultNormalizer
, is used.- Parameters:
problem
- the problemsubdivisions
- the number of subdivisions along each objectivereferenceSet
- the reference set
-
R1Indicator
public R1Indicator(Problem problem, int subdivisions, NondominatedPopulation referenceSet, Normalizer normalizer, RIndicator.UtilityFunction utilityFunction, double epsilon) Constructs a new R1 indicator using the specified utility function.- Parameters:
problem
- the problemsubdivisions
- the number of subdivisions along each objectivereferenceSet
- the reference setnormalizer
- the user-provided normalizer, ornull
if the default is usedutilityFunction
- the utility functionepsilon
- resolution when comparing two utility function values for equality
-
-
Method Details
-
evaluate
Description copied from interface:Indicator
Returns the value of this unary quality indicator given the specified non-dominated population.- Parameters:
population
- the non-dominated population to be evaluated- Returns:
- the value of this quality indicator given the specified non-dominated population
-