|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ProgramSolverStatus>
sbrt.kernel.math.optimization.ProgramSolverStatus
public enum ProgramSolverStatus
This enum type is used to indicate the status of a program solver.
Enum Constant Summary | |
---|---|
BOUNDED
Used to indicate a bounded solution exists. |
|
ERROR
Used to indicate an error has ocurred. |
|
FEASIBLE
Used to indicate a feasible solution exists. |
|
INFEASIBLE
Used to indicate no feasible solution exists. |
|
INFEASIBLE_OR_UNBOUNDED
Used to indicate no feasible solution exists or the solution is unbounded. |
|
OPTIMAL
Used to indicate an optimal solution exists. |
|
UNBOUNDED
Used to indicate an unbounded solution. |
|
UNDEFINED
Used to indicate an undefined problem. |
|
UNKNOWN
Used to indicate an unknown problem. |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns an appropriate string representation of this program solver status. |
static ProgramSolverStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ProgramSolverStatus[] |
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, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ProgramSolverStatus OPTIMAL
public static final ProgramSolverStatus FEASIBLE
public static final ProgramSolverStatus BOUNDED
public static final ProgramSolverStatus INFEASIBLE
public static final ProgramSolverStatus INFEASIBLE_OR_UNBOUNDED
public static final ProgramSolverStatus UNBOUNDED
public static final ProgramSolverStatus UNDEFINED
public static final ProgramSolverStatus UNKNOWN
public static final ProgramSolverStatus ERROR
Method Detail |
---|
public static ProgramSolverStatus[] values()
for (ProgramSolverStatus c : ProgramSolverStatus.values()) System.out.println(c);
public static ProgramSolverStatus 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 java.lang.String toString()
toString
in class java.lang.Enum<ProgramSolverStatus>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |