- java.lang.Object
-
- java.lang.Enum<PropagatorPriority>
-
- org.chocosolver.solver.constraints.PropagatorPriority
-
- All Implemented Interfaces:
Serializable
,Comparable<PropagatorPriority>
public enum PropagatorPriority extends Enum<PropagatorPriority>
- Since:
- 11 aug. 2010
- Author:
- Charles Prud'homme
-
-
Field Summary
Fields Modifier and Type Field Description int
priority
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PropagatorPriority
get(int prio)
static PropagatorPriority
valueOf(String name)
Returns the enum constant of this type with the specified name.static PropagatorPriority[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNARY
public static final PropagatorPriority UNARY
-
BINARY
public static final PropagatorPriority BINARY
-
TERNARY
public static final PropagatorPriority TERNARY
-
LINEAR
public static final PropagatorPriority LINEAR
-
QUADRATIC
public static final PropagatorPriority QUADRATIC
-
CUBIC
public static final PropagatorPriority CUBIC
-
VERY_SLOW
public static final PropagatorPriority VERY_SLOW
-
-
Method Detail
-
values
public static PropagatorPriority[] 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 (PropagatorPriority c : PropagatorPriority.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PropagatorPriority 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 nameNullPointerException
- if the argument is null
-
get
public static PropagatorPriority get(int prio)
-
-