org.optaplanner.core.config.localsearch.decider.acceptor
Enum AcceptorType
java.lang.Object
java.lang.Enum<AcceptorType>
org.optaplanner.core.config.localsearch.decider.acceptor.AcceptorType
- All Implemented Interfaces:
- Serializable, Comparable<AcceptorType>
public enum AcceptorType
- extends Enum<AcceptorType>
Method Summary |
static AcceptorType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AcceptorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
HILL_CLIMBING
public static final AcceptorType HILL_CLIMBING
ENTITY_TABU
public static final AcceptorType ENTITY_TABU
VALUE_TABU
public static final AcceptorType VALUE_TABU
MOVE_TABU
public static final AcceptorType MOVE_TABU
UNDO_MOVE_TABU
public static final AcceptorType UNDO_MOVE_TABU
SOLUTION_TABU
public static final AcceptorType SOLUTION_TABU
SIMULATED_ANNEALING
public static final AcceptorType SIMULATED_ANNEALING
LATE_ACCEPTANCE
public static final AcceptorType LATE_ACCEPTANCE
STEP_COUNTING_HILL_CLIMBING
public static final AcceptorType STEP_COUNTING_HILL_CLIMBING
LATE_SIMULATED_ANNEALING
@Deprecated
public static final AcceptorType LATE_SIMULATED_ANNEALING
- Deprecated.
values
public static AcceptorType[] 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 (AcceptorType c : AcceptorType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AcceptorType 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 name
NullPointerException
- if the argument is null
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.