Package org.moeaframework.core.indicator
Class Contribution
java.lang.Object
org.moeaframework.core.indicator.Contribution
- All Implemented Interfaces:
Indicator
Measures the contribution of the approximation set to the reference set.
-
Constructor Summary
ConstructorDescriptionContribution
(NondominatedPopulation referenceSet) Constructs the contribution indicator using the specified reference set.Contribution
(NondominatedPopulation referenceSet, double epsilon) Constructs the contribution indicator using the specified reference set and ε value.Contribution
(NondominatedPopulation referenceSet, EpsilonBoxDominanceComparator comparator) Constructs the contribution indicator using the specified reference set and ε-box dominance comparator.Contribution
(NondominatedPopulation referenceSet, Epsilons epsilons) Constructs the contribution indicator using the specified reference set and ε values. -
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(NondominatedPopulation approximationSet) Returns the value of this unary quality indicator given the specified non-dominated population.
-
Constructor Details
-
Contribution
Constructs the contribution indicator using the specified reference set. Exact matching is used.- Parameters:
referenceSet
- the reference set- Throws:
IllegalArgumentException
- if the reference set is empty
-
Contribution
Constructs the contribution indicator using the specified reference set and ε value. Solutions residing in the same ε-box are considered to be equivalent.- Parameters:
referenceSet
- the reference setepsilon
- the ε value- Throws:
IllegalArgumentException
- if the reference set is empty
-
Contribution
Constructs the contribution indicator using the specified reference set and ε values. Solutions residing in the same ε-box are considered to be equivalent.- Parameters:
referenceSet
- the reference setepsilons
- the ε values- Throws:
IllegalArgumentException
- if the reference set is empty
-
Contribution
Constructs the contribution indicator using the specified reference set and ε-box dominance comparator. Solutions residing in the same ε-box are considered to be equivalent.If the comparator isnull
, exact matching is used.- Parameters:
referenceSet
- the reference setcomparator
- the ε-box dominance comparator used to determine if solutions in the reference set are covered by solutions in the approximation set; ornull
if exact matching is used- Throws:
IllegalArgumentException
- if the reference set is empty
-
-
Method Details
-
evaluate
Description copied from interface:Indicator
Returns the value of this unary quality indicator given the specified non-dominated population.
-