Enum FinalistPodiumType
- java.lang.Object
-
- java.lang.Enum<FinalistPodiumType>
-
- org.optaplanner.core.config.localsearch.decider.forager.FinalistPodiumType
-
- All Implemented Interfaces:
Serializable
,Comparable<FinalistPodiumType>
public enum FinalistPodiumType extends Enum<FinalistPodiumType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHEST_SCORE
STRATEGIC_OSCILLATION
STRATEGIC_OSCILLATION_BY_LEVEL
STRATEGIC_OSCILLATION_BY_LEVEL_ON_BEST_SCORE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <Solution_>
FinalistPodium<Solution_>buildFinalistPodium()
static FinalistPodiumType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FinalistPodiumType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HIGHEST_SCORE
public static final FinalistPodiumType HIGHEST_SCORE
-
STRATEGIC_OSCILLATION
public static final FinalistPodiumType STRATEGIC_OSCILLATION
-
STRATEGIC_OSCILLATION_BY_LEVEL
public static final FinalistPodiumType STRATEGIC_OSCILLATION_BY_LEVEL
-
STRATEGIC_OSCILLATION_BY_LEVEL_ON_BEST_SCORE
public static final FinalistPodiumType STRATEGIC_OSCILLATION_BY_LEVEL_ON_BEST_SCORE
-
-
Method Detail
-
values
public static FinalistPodiumType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FinalistPodiumType c : FinalistPodiumType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FinalistPodiumType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
buildFinalistPodium
public <Solution_> FinalistPodium<Solution_> buildFinalistPodium()
-
-