Package org.goplanit.assignment.ltm.sltm
Class StaticLtmConfigurator
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.assignment.TrafficAssignmentConfigurator<T>
-
- org.goplanit.assignment.ltm.LtmConfigurator<StaticLtm>
-
- org.goplanit.assignment.ltm.sltm.StaticLtmConfigurator
-
public class StaticLtmConfigurator extends LtmConfigurator<StaticLtm>
Configurator for sLTM. Adopting the following defaults:- Fundamental diagram: NEWELL
- Node Model: TAMPERE
- Smoothing: MSA
- Gap function: NORM BASED (defaults: 1 norm + averaged))
- Physical Cost: STEADY_STATE
- Virtual Cost: FIXED
- disableLinkStorageConstraints: true
- activateDetailedLogging: false
- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_ACTIVATE_BUSH_BASED
default value usedstatic boolean
DEFAULT_ACTIVATE_DETAILED_LOGGING
default value usedstatic boolean
DEFAULT_DISABLE_LINK_STORAGE_CONSTRAINTS
default value used-
Fields inherited from class org.goplanit.assignment.TrafficAssignmentConfigurator
SET_DEMANDS, SET_GAP_FUNCTION, SET_INFRASTRUCTURE_NETWORK, SET_INITIAL_LINK_SEGMENT_COST, SET_OUTPUT_MANAGER, SET_PHYSICAL_COST, SET_VIRTUAL_COST, SET_ZONING
-
Fields inherited from class org.goplanit.utils.builder.Configurator
delayedMethodCalls
-
-
Constructor Summary
Constructors Constructor Description StaticLtmConfigurator()
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
activateBushBased(boolean flag)
(De)Activate the bush based assignment strategy.void
activateDetailedLogging(boolean flag)
(De)Activate additional detailed logging specifically for the sLTM assignment procedurevoid
disableLinkStorageConstraints(boolean flag)
Dis or enable enforcing any storage constraints on link(segments)-
Methods inherited from class org.goplanit.assignment.ltm.LtmConfigurator
createAndRegisterFundamentalDiagram, createAndRegisterNodeModel, createAndRegisterPathChoice, getFundamentalDiagram, getNodeModel, getPathChoice
-
Methods inherited from class org.goplanit.assignment.TrafficAssignmentConfigurator
activateOutput, createAndRegisterGapFunction, createAndRegisterPhysicalCost, createAndRegisterSmoothing, createAndRegisterVirtualCost, deactivateOutput, getDemands, getGapFunction, getInfrastructureNetwork, getOutputConfiguration, getOutputFormatters, getOutputManager, getPhysicalCost, getSmoothing, getVirtualCost, getZoning, isOutputTypeActive, registerInitialLinkSegmentCost, registerInitialLinkSegmentCost, registerInitialLinkSegmentCost, registerOutputFormatter, setDemands, setInfrastructureNetwork, setOutputManager, setZoning, unregisterOutputFormatter
-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, configure, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Field Detail
-
DEFAULT_DISABLE_LINK_STORAGE_CONSTRAINTS
public static boolean DEFAULT_DISABLE_LINK_STORAGE_CONSTRAINTS
default value used
-
DEFAULT_ACTIVATE_DETAILED_LOGGING
public static boolean DEFAULT_ACTIVATE_DETAILED_LOGGING
default value used
-
DEFAULT_ACTIVATE_BUSH_BASED
public static boolean DEFAULT_ACTIVATE_BUSH_BASED
default value used
-
-
Constructor Detail
-
StaticLtmConfigurator
public StaticLtmConfigurator() throws PlanItException
Constructor- Throws:
PlanItException
- thrown when error
-
-
Method Detail
-
disableLinkStorageConstraints
public void disableLinkStorageConstraints(boolean flag)
Dis or enable enforcing any storage constraints on link(segments)- Parameters:
flag
- to set
-
activateDetailedLogging
public void activateDetailedLogging(boolean flag)
(De)Activate additional detailed logging specifically for the sLTM assignment procedure- Parameters:
flag
- to set
-
activateBushBased
public void activateBushBased(boolean flag)
(De)Activate the bush based assignment strategy. If switched off, a apth absed approach is applied- Parameters:
flag
- to set
-
-