Package org.chocosolver.solver
Enum Solver.Action
- java.lang.Object
-
- java.lang.Enum<Solver.Action>
-
- org.chocosolver.solver.Solver.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<Solver.Action>
- Enclosing class:
- Solver
public static enum Solver.Action extends Enum<Solver.Action>
Define the possible actions of SearchLoop
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Solver.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static Solver.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
initialize
public static final Solver.Action initialize
Initialization step
-
propagate
public static final Solver.Action propagate
propagation step
-
fixpoint
public static final Solver.Action fixpoint
fixpoint step
-
extend
public static final Solver.Action extend
extension step
-
validate
public static final Solver.Action validate
validation step
-
repair
public static final Solver.Action repair
reparation step
-
-
Method Detail
-
values
public static Solver.Action[] 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 (Solver.Action c : Solver.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Solver.Action 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
-
-