public static enum NetworkSimplex.PricingStrategy extends Enum<NetworkSimplex.PricingStrategy>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final NetworkSimplex.PricingStrategy FIRST_NEGATIVE
public static final NetworkSimplex.PricingStrategy MOST_NEGATIVE
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 nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.