|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<NetworkSimplex.SolutionStatus>
org.graphstream.algorithm.networksimplex.NetworkSimplex.SolutionStatus
public static enum NetworkSimplex.SolutionStatus
The status of the current solution.
| Enum Constant Summary | |
|---|---|
INFEASIBLE
The problem is infeasible, some of the supply/demand constraints cannot be satisfied. |
|
OPTIMAL
The problem is feasible and bounded. |
|
UNBOUNDED
The problem is unbounded (this happens when the graph contains an uncapacitated negative cost cycle). |
|
UNDEFINED
The current solution is outdated. |
|
| Method Summary | |
|---|---|
static NetworkSimplex.SolutionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetworkSimplex.SolutionStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final NetworkSimplex.SolutionStatus UNDEFINED
NetworkSimplex.compute()
public static final NetworkSimplex.SolutionStatus OPTIMAL
public static final NetworkSimplex.SolutionStatus INFEASIBLE
public static final NetworkSimplex.SolutionStatus UNBOUNDED
| Method Detail |
|---|
public static NetworkSimplex.SolutionStatus[] values()
for (NetworkSimplex.SolutionStatus c : NetworkSimplex.SolutionStatus.values()) System.out.println(c);
public static NetworkSimplex.SolutionStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||