|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<SelectionOrder>
org.drools.planner.config.heuristic.selector.common.SelectionOrder
public enum SelectionOrder
Defines in which order
Enum Constant Summary | |
---|---|
INHERIT
Inherit the value from the parent . |
|
ORIGINAL
Select in the elements in original order. |
|
RANDOM
Select in random order, without shuffling the elements. |
|
SHUFFLED
Select in random order by shuffling the elements when a selection iterator is created. |
Method Summary | |
---|---|
static SelectionOrder |
resolve(SelectionOrder selectionOrder,
SelectionOrder inheritedSelectionOrder)
|
static SelectionOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SelectionOrder[] |
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 SelectionOrder INHERIT
SHUFFLED
,
the value is set to ORIGINAL
.
This is the default. If there is no such parent, then it defaults to RANDOM
.
public static final SelectionOrder ORIGINAL
public static final SelectionOrder RANDOM
public static final SelectionOrder SHUFFLED
SelectionCacheType.STEP
or higher.
Method Detail |
---|
public static SelectionOrder[] values()
for (SelectionOrder c : SelectionOrder.values()) System.out.println(c);
public static SelectionOrder 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 nullpublic static SelectionOrder resolve(SelectionOrder selectionOrder, SelectionOrder inheritedSelectionOrder)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |