Package org.goplanit.assignment.ltm.sltm
Class StaticLtmSettings
- java.lang.Object
-
- org.goplanit.assignment.ltm.sltm.StaticLtmSettings
-
public class StaticLtmSettings extends Object
POJO Settings regarding the execution of the StaticLTM network loading instance it is used on- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static StaticLtmTypeDEFAULT_SLTM_TYPEdefault setting for assignment is to apply an origin-based bush-based type of implementation over a path based onestatic booleanENFORCE_FLOW_PROPORTIONAL_SOLUTION_DEFAULTdefault setting for enforcing a flow proportional solution when possible
-
Constructor Summary
Constructors Constructor Description StaticLtmSettings()ConstructorStaticLtmSettings(StaticLtmSettings staticLtmSettings)Copy constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StaticLtmTypegetSltmType()BooleanisBushBased()BooleanisDetailedLogging()BooleanisDisableStorageConstraints()BooleanisEnforceMaxEntropyFlowSolution()voidsetDetailedLogging(Boolean detailedLogging)voidsetDisableStorageConstraints(Boolean disableStorageConstraints)voidsetEnforceMaxEntropyFlowSolution(Boolean enforceMaxEntropyFlowSolution)voidsetSltmType(StaticLtmType type)StaticLtmSettingsshallowClone()Shallow copybooleanvalidate()Validate if all settings have been properly set and log found issues
-
-
-
Field Detail
-
DEFAULT_SLTM_TYPE
public static StaticLtmType DEFAULT_SLTM_TYPE
default setting for assignment is to apply an origin-based bush-based type of implementation over a path based one
-
ENFORCE_FLOW_PROPORTIONAL_SOLUTION_DEFAULT
public static boolean ENFORCE_FLOW_PROPORTIONAL_SOLUTION_DEFAULT
default setting for enforcing a flow proportional solution when possible
-
-
Constructor Detail
-
StaticLtmSettings
public StaticLtmSettings()
Constructor
-
StaticLtmSettings
public StaticLtmSettings(StaticLtmSettings staticLtmSettings)
Copy constructor- Parameters:
staticLtmSettings- to copy
-
-
Method Detail
-
validate
public boolean validate()
Validate if all settings have been properly set and log found issues- Returns:
- true when valid, false otherwise
-
shallowClone
public StaticLtmSettings shallowClone()
Shallow copy- Returns:
- shallow copy
-
isDisableStorageConstraints
public Boolean isDisableStorageConstraints()
-
setDisableStorageConstraints
public void setDisableStorageConstraints(Boolean disableStorageConstraints)
-
isDetailedLogging
public Boolean isDetailedLogging()
-
setDetailedLogging
public void setDetailedLogging(Boolean detailedLogging)
-
isBushBased
public Boolean isBushBased()
-
setSltmType
public void setSltmType(StaticLtmType type)
-
getSltmType
public StaticLtmType getSltmType()
-
isEnforceMaxEntropyFlowSolution
public Boolean isEnforceMaxEntropyFlowSolution()
-
setEnforceMaxEntropyFlowSolution
public void setEnforceMaxEntropyFlowSolution(Boolean enforceMaxEntropyFlowSolution)
-
-