Package com.google.ortools.graph
Enum MinCostFlowBase.Status
- java.lang.Object
-
- java.lang.Enum<MinCostFlowBase.Status>
-
- com.google.ortools.graph.MinCostFlowBase.Status
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MinCostFlowBase.Status>
- Enclosing class:
- MinCostFlowBase
public static enum MinCostFlowBase.Status extends java.lang.Enum<MinCostFlowBase.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BAD_COST_RANGEBAD_RESULTFEASIBLEINFEASIBLENOT_SOLVEDOPTIMALUNBALANCED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MinCostFlowBase.StatusswigToEnum(int swigValue)intswigValue()static MinCostFlowBase.StatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MinCostFlowBase.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_SOLVED
public static final MinCostFlowBase.Status NOT_SOLVED
-
OPTIMAL
public static final MinCostFlowBase.Status OPTIMAL
-
FEASIBLE
public static final MinCostFlowBase.Status FEASIBLE
-
INFEASIBLE
public static final MinCostFlowBase.Status INFEASIBLE
-
UNBALANCED
public static final MinCostFlowBase.Status UNBALANCED
-
BAD_RESULT
public static final MinCostFlowBase.Status BAD_RESULT
-
BAD_COST_RANGE
public static final MinCostFlowBase.Status BAD_COST_RANGE
-
-
Method Detail
-
values
public static MinCostFlowBase.Status[] 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 (MinCostFlowBase.Status c : MinCostFlowBase.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MinCostFlowBase.Status valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
swigValue
public final int swigValue()
-
swigToEnum
public static MinCostFlowBase.Status swigToEnum(int swigValue)
-
-