|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<ValueSelector.ValueSelectorType>
javax.constraints.ValueSelector.ValueSelectorType
public static enum ValueSelector.ValueSelectorType
| Enum Constant Summary | |
|---|---|
CUSTOM
custom selector |
|
IN_DOMAIN
try values in increasing order one at a time without removing failed values on backtracking |
|
MAX
try values in increasing order, remove value on backtracking |
|
MEDIAN
try the median values first, e.g if domain has 5 values, try the third value first |
|
MIDDLE
try values in the middle of domain, the closest to (min+max)/2 |
|
MIN
try values in increasing order, remove value on backtracking |
|
MIN_IMPACT
try a value which causes the smallest domain reduction in all other variables |
|
MIN_MAX_ALTERNATE
try to alternate minimal and maximal values |
|
RANDOM
try a random value |
|
| Method Summary | |
|---|---|
static ValueSelector.ValueSelectorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ValueSelector.ValueSelectorType[] |
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 ValueSelector.ValueSelectorType CUSTOM
public static final ValueSelector.ValueSelectorType IN_DOMAIN
public static final ValueSelector.ValueSelectorType MAX
public static final ValueSelector.ValueSelectorType MEDIAN
public static final ValueSelector.ValueSelectorType MIDDLE
public static final ValueSelector.ValueSelectorType MIN
public static final ValueSelector.ValueSelectorType MIN_IMPACT
public static final ValueSelector.ValueSelectorType MIN_MAX_ALTERNATE
public static final ValueSelector.ValueSelectorType RANDOM
| Method Detail |
|---|
public static ValueSelector.ValueSelectorType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static ValueSelector.ValueSelectorType[] values()
for (ValueSelector.ValueSelectorType c : ValueSelector.ValueSelectorType.values()) System.out.println(c);
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||