Package de.uka.ipd.sdq.tcfmoop.config
Enum Class ParetoOptimalSetStabilityConfig.EvaluationMode
java.lang.Object
java.lang.Enum<ParetoOptimalSetStabilityConfig.EvaluationMode>
de.uka.ipd.sdq.tcfmoop.config.ParetoOptimalSetStabilityConfig.EvaluationMode
- All Implemented Interfaces:
Serializable
,Comparable<ParetoOptimalSetStabilityConfig.EvaluationMode>
,Constable
- Enclosing class:
- ParetoOptimalSetStabilityConfig
public static enum ParetoOptimalSetStabilityConfig.EvaluationMode
extends Enum<ParetoOptimalSetStabilityConfig.EvaluationMode>
The evaluation modes that this criterion supports. If mode is set to EXACT_NUMBER, then the criterion searches every time
for exactly x candidates who have survived for n iterations. If PERCENTAGE is set as evaluation mode, then the number of
the survived candidates is relative to the current amount of candidates in the archive.
The NOT_SET value will cause a validation error of the criterion configuration object and an InvalidConfigException
if this value is supplied to the set Method of the Configuration class. This value only exists as indicator
that the value has not been set.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT_NUMBER
-
PERCENTAGE
-
NOT_SET
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-