public enum SupplyCenterType extends java.lang.Enum<SupplyCenterType>
资源供给中心类型枚举。
该枚举类定义了网络分析中资源中心点的类型,主要用于资源分配和选址分区。
资源供给中心点的类型包括非中心,固定中心和可选中心。固定中心用于资源分配分析; 固定中心和可选中心用于选址分析;非中心在两种网络分析时都不予考虑。
枚举常量和说明 |
---|
FIXEDCENTER
固定中心点,用于资源分配和选址分区。
|
NULL
非中心点,在资源分配和选址分区时都不予考虑。
|
OPTIONALCENTER
可选中心点,用于选址分区。
|
限定符和类型 | 方法和说明 |
---|---|
static SupplyCenterType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static SupplyCenterType[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final SupplyCenterType FIXEDCENTER
固定中心点,用于资源分配和选址分区。
public static final SupplyCenterType NULL
非中心点,在资源分配和选址分区时都不予考虑。
public static final SupplyCenterType OPTIONALCENTER
可选中心点,用于选址分区。
public static SupplyCenterType[] values()
for (SupplyCenterType c : SupplyCenterType.values()) System.out.println(c);
public static SupplyCenterType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。