Enum StaticLtmLoadingScheme
- java.lang.Object
-
- java.lang.Enum<StaticLtmLoadingScheme>
-
- org.goplanit.assignment.ltm.sltm.loading.StaticLtmLoadingScheme
-
- All Implemented Interfaces:
Serializable
,Comparable<StaticLtmLoadingScheme>
public enum StaticLtmLoadingScheme extends Enum<StaticLtmLoadingScheme>
Defines the different types of solution scheme variations that exist and can be applied (progressively) during an sLTM network loading approach- Author:
- markr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONE
PHYSICAL_QUEUE_BASIC
PHYSICAL_QUEUE_EXT_A
PHYSICAL_QUEUE_EXT_B
PHYSICAL_QUEUE_EXT_C
POINT_QUEUE_ADVANCED
POINT_QUEUE_BASIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getValue()
The value of the typeboolean
isPhysicalQueue()
Verify if the chosen method is any of the physical queue optionsboolean
isPointQueue()
Verify if the chosen method is any of the point queue onesstatic StaticLtmLoadingScheme
valueOf(String name)
Returns the enum constant of this type with the specified name.static StaticLtmLoadingScheme[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final StaticLtmLoadingScheme NONE
-
POINT_QUEUE_BASIC
public static final StaticLtmLoadingScheme POINT_QUEUE_BASIC
-
POINT_QUEUE_ADVANCED
public static final StaticLtmLoadingScheme POINT_QUEUE_ADVANCED
-
PHYSICAL_QUEUE_BASIC
public static final StaticLtmLoadingScheme PHYSICAL_QUEUE_BASIC
-
PHYSICAL_QUEUE_EXT_A
public static final StaticLtmLoadingScheme PHYSICAL_QUEUE_EXT_A
-
PHYSICAL_QUEUE_EXT_B
public static final StaticLtmLoadingScheme PHYSICAL_QUEUE_EXT_B
-
PHYSICAL_QUEUE_EXT_C
public static final StaticLtmLoadingScheme PHYSICAL_QUEUE_EXT_C
-
-
Method Detail
-
values
public static StaticLtmLoadingScheme[] 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 (StaticLtmLoadingScheme c : StaticLtmLoadingScheme.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StaticLtmLoadingScheme valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public String getValue()
The value of the type- Returns:
- value
-
isPointQueue
public boolean isPointQueue()
Verify if the chosen method is any of the point queue ones- Returns:
- true if a point queue approach, false otherwise
-
isPhysicalQueue
public boolean isPhysicalQueue()
Verify if the chosen method is any of the physical queue options- Returns:
- true if a physical queue approach, false otherwise
-
-