java.io.Serializable
, java.lang.Comparable<SolutionType>
public enum SolutionType extends java.lang.Enum<SolutionType>
Enum Constant | Description |
---|---|
FEASIBLE |
The problem has feasible solutions.
|
ILLIMITATUM |
The problem has unlimited optimal solution.
|
MAX_ITERATIUM |
The algorithm stopped because the maximum number of iterations was reached.
|
MAX_NUM_SIMPLEX |
The branch and bound algorithm stopped because the maximum number of simplexes was reached.
|
OPTIMUM |
The problem has an optimal solution.
|
VUOTUM |
The problem has no feasible solutions.
|
Modifier and Type | Field | Description |
---|---|---|
static SolutionType |
INFEASIBLE |
|
static SolutionType |
MAX_ITERATIONS |
|
static SolutionType |
OPTIMAL |
|
static SolutionType |
UNLIMITED |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getValue() |
Retrieves the value associated with the enumeration.
|
java.lang.String |
toString() |
Returns a string representation of the enumeration value.
|
static SolutionType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static SolutionType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SolutionType OPTIMUM
public static final SolutionType ILLIMITATUM
public static final SolutionType MAX_ITERATIUM
public static final SolutionType MAX_NUM_SIMPLEX
public static final SolutionType VUOTUM
public static final SolutionType FEASIBLE
public static final SolutionType INFEASIBLE
public static final SolutionType UNLIMITED
public static final SolutionType OPTIMAL
public static final SolutionType MAX_ITERATIONS
public static SolutionType[] values()
for (SolutionType c : SolutionType.values()) System.out.println(c);
public static SolutionType 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<SolutionType>