org.optaplanner.core.config.exhaustivesearch
Enum ExhaustiveSearchPhaseConfig.NodeExplorationType
java.lang.Object
java.lang.Enum<ExhaustiveSearchPhaseConfig.NodeExplorationType>
org.optaplanner.core.config.exhaustivesearch.ExhaustiveSearchPhaseConfig.NodeExplorationType
- All Implemented Interfaces:
- Serializable, Comparable<ExhaustiveSearchPhaseConfig.NodeExplorationType>
- Enclosing class:
- ExhaustiveSearchPhaseConfig
public static enum ExhaustiveSearchPhaseConfig.NodeExplorationType
- extends Enum<ExhaustiveSearchPhaseConfig.NodeExplorationType>
ORIGINAL_ORDER
public static final ExhaustiveSearchPhaseConfig.NodeExplorationType ORIGINAL_ORDER
DEPTH_FIRST
public static final ExhaustiveSearchPhaseConfig.NodeExplorationType DEPTH_FIRST
BREADTH_FIRST
public static final ExhaustiveSearchPhaseConfig.NodeExplorationType BREADTH_FIRST
SCORE_FIRST
public static final ExhaustiveSearchPhaseConfig.NodeExplorationType SCORE_FIRST
OPTIMISTIC_BOUND_FIRST
public static final ExhaustiveSearchPhaseConfig.NodeExplorationType OPTIMISTIC_BOUND_FIRST
values
public static ExhaustiveSearchPhaseConfig.NodeExplorationType[] 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 (ExhaustiveSearchPhaseConfig.NodeExplorationType c : ExhaustiveSearchPhaseConfig.NodeExplorationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ExhaustiveSearchPhaseConfig.NodeExplorationType 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
buildNodeComparator
public Comparator<ExhaustiveSearchNode> buildNodeComparator(boolean scoreBounderEnabled)
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.