Package org.ddolib.common.solver.stat
Enum Class SearchStatus
- All Implemented Interfaces:
Serializable,Comparable<SearchStatus>,Constable
Status values describing the state of a search process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe search was stopped because it ran out of memory: either the JVM threw anOutOfMemoryErroror the frontier reached the size given toStopCriterion.maxFrontierSize(int).The search found an optimal solution and proved its optimality.The search found a feasible solution but did not prove its optimality.The search status is unknown (e.g., interrupted before finding any solution).The search proved that no solution exists. -
Method Summary
Modifier and TypeMethodDescriptionstatic SearchStatusReturns the enum constant of this class with the specified name.static SearchStatus[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OPTIMAL
The search found an optimal solution and proved its optimality. -
UNSAT
The search proved that no solution exists. -
SAT
The search found a feasible solution but did not prove its optimality. -
UNKNOWN
The search status is unknown (e.g., interrupted before finding any solution). -
MEMOUT
The search was stopped because it ran out of memory: either the JVM threw anOutOfMemoryErroror the frontier reached the size given toStopCriterion.maxFrontierSize(int). The solution, if any, is the best one found before; it is not proved optimal.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-