|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NetworkSimplex.PricingStrategy>
org.graphstream.algorithm.networksimplex.NetworkSimplex.PricingStrategy
public static enum NetworkSimplex.PricingStrategy
Pricing strategy used at each iteration of the algorithm. Only two simple strategies are implemented for the moment, more are to come.
Enum Constant Summary | |
---|---|
FIRST_NEGATIVE
When using this strategy an iteration is faster, but the number of iterations is generally bigger |
|
MOST_NEGATIVE
When using this strategy an iteration is slower, but the number of iterations is generally smaller |
Method Summary | |
---|---|
static NetworkSimplex.PricingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NetworkSimplex.PricingStrategy[] |
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.PricingStrategy FIRST_NEGATIVE
public static final NetworkSimplex.PricingStrategy MOST_NEGATIVE
Method Detail |
---|
public static NetworkSimplex.PricingStrategy[] values()
for (NetworkSimplex.PricingStrategy c : NetworkSimplex.PricingStrategy.values()) System.out.println(c);
public static NetworkSimplex.PricingStrategy 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 |