|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<StepCountingHillClimbingType>
org.optaplanner.core.config.localsearch.decider.acceptor.stepcountinghillclimbing.StepCountingHillClimbingType
public enum StepCountingHillClimbingType
Determines what increment the counter of Step Counting Hill Climbing.
Enum Constant Summary | |
---|---|
ACCEPTED_MOVE
Every accepted move is counted. |
|
EQUAL_OR_IMPROVING_STEP
Every step that equals or improves the Score of the last step is counted. |
|
IMPROVING_STEP
Every step that improves the Score of the last step is counted. |
|
SELECTED_MOVE
Every selected move is counted. |
|
STEP
Every step is counted. |
Method Summary | |
---|---|
static StepCountingHillClimbingType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StepCountingHillClimbingType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final StepCountingHillClimbingType SELECTED_MOVE
public static final StepCountingHillClimbingType ACCEPTED_MOVE
LocalSearchForagerConfig.getAcceptedCountLimit()
= 1,
then this behaves exactly the same as {link #STEP}.
public static final StepCountingHillClimbingType STEP
public static final StepCountingHillClimbingType EQUAL_OR_IMPROVING_STEP
Score
of the last step is counted.
public static final StepCountingHillClimbingType IMPROVING_STEP
Score
of the last step is counted.
Method Detail |
---|
public static StepCountingHillClimbingType[] values()
for (StepCountingHillClimbingType c : StepCountingHillClimbingType.values()) System.out.println(c);
public static StepCountingHillClimbingType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
OptaPlanner core 6.2.0.CR2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |