Enum LocalSearchType
- java.lang.Object
-
- java.lang.Enum<LocalSearchType>
-
- org.optaplanner.core.config.localsearch.LocalSearchType
-
- All Implemented Interfaces:
Serializable
,Comparable<LocalSearchType>
public enum LocalSearchType extends Enum<LocalSearchType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GREAT_DELUGE
HILL_CLIMBING
LATE_ACCEPTANCE
SIMULATED_ANNEALING
TABU_SEARCH
VARIABLE_NEIGHBORHOOD_DESCENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalSearchType[]
getBluePrintTypes()
static LocalSearchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static LocalSearchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HILL_CLIMBING
public static final LocalSearchType HILL_CLIMBING
-
TABU_SEARCH
public static final LocalSearchType TABU_SEARCH
-
SIMULATED_ANNEALING
public static final LocalSearchType SIMULATED_ANNEALING
-
LATE_ACCEPTANCE
public static final LocalSearchType LATE_ACCEPTANCE
-
GREAT_DELUGE
public static final LocalSearchType GREAT_DELUGE
-
VARIABLE_NEIGHBORHOOD_DESCENT
public static final LocalSearchType VARIABLE_NEIGHBORHOOD_DESCENT
-
-
Method Detail
-
values
public static LocalSearchType[] 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 (LocalSearchType c : LocalSearchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalSearchType 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
-
getBluePrintTypes
public static LocalSearchType[] getBluePrintTypes()
- Returns:
values()
without duplicates (abstract types that end up behaving as one of the other types).
-
-