public enum SupplyCenterType extends java.lang.Enum<SupplyCenterType>
Resource supply center type enumeration.
This enumeration class defines the types of resource center points in network analysis, mainly used for resource allocation and location partition.
Types of resource supply center point include non-center, fixed center and optional center. Fixed center is used for resource allocation analysis; Fixed center and optional center is used for location analysis; Non-centers is not considered when analyzing two networks.
Enum Constant and Description |
---|
FIXEDCENTER
Fixed center points for resource allocation and location partition.
|
NULL
Non-central points are not considered in resource allocation and location partition.
|
OPTIONALCENTER
Optional center points are used for location partition.
|
Modifier and Type | Method and Description |
---|---|
static SupplyCenterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SupplyCenterType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final SupplyCenterType FIXEDCENTER
Fixed center points for resource allocation and location partition.
public static final SupplyCenterType NULL
Non-central points are not considered in resource allocation and location partition.
public static final SupplyCenterType OPTIONALCENTER
Optional center points are used for location partition.
public static SupplyCenterType[] values()
for (SupplyCenterType c : SupplyCenterType.values()) System.out.println(c);
public static SupplyCenterType 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 null