Package org.moeaframework.analysis
Class EpsilonHelper
java.lang.Object
org.moeaframework.analysis.EpsilonHelper
Provides ε values for algorithms using ε-dominance archives on the standard test problems.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final double
The default ε value that is returned for any problem without an explicitly configured value. -
Method Summary
Modifier and TypeMethodDescriptionstatic EpsilonBoxDominanceArchive
convert
(Population population, Epsilons epsilons) Converts the population to anEpsilonBoxDominanceArchive
with the given ε values.static Epsilons
getEpsilons
(Problem problem) Returns the ε value used for the standard problems in sensitivity analysis.
-
Field Details
-
DEFAULT
public static final double DEFAULTThe default ε value that is returned for any problem without an explicitly configured value.- See Also:
-
-
Method Details
-
getEpsilons
Returns the ε value used for the standard problems in sensitivity analysis. If the problem is not recognized, the default ε value of0.01
is returned.- Parameters:
problem
- the problem- Returns:
- the ε value used for the standard problems in sensitivity analysis
-
convert
Converts the population to anEpsilonBoxDominanceArchive
with the given ε values. To prevent unnecessary computations, this conversion only occurs if the original population is not anEpsilonBoxDominanceArchive
and does not have matching ε values.- Parameters:
population
- the population to convertepsilons
- the ε values- Returns:
- the population converted to an
EpsilonBoxDominanceArchive
with the given ε values
-