org.optaplanner.core.config.exhaustivesearch
Enum NodeExplorationType
java.lang.Object
java.lang.Enum<NodeExplorationType>
org.optaplanner.core.config.exhaustivesearch.NodeExplorationType
- All Implemented Interfaces:
- Serializable, Comparable<NodeExplorationType>
public enum NodeExplorationType
- extends Enum<NodeExplorationType>
ORIGINAL_ORDER
public static final NodeExplorationType ORIGINAL_ORDER
DEPTH_FIRST
public static final NodeExplorationType DEPTH_FIRST
BREADTH_FIRST
public static final NodeExplorationType BREADTH_FIRST
SCORE_FIRST
public static final NodeExplorationType SCORE_FIRST
OPTIMISTIC_BOUND_FIRST
public static final NodeExplorationType OPTIMISTIC_BOUND_FIRST
values
public static 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 (NodeExplorationType c : 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 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.