Package org.goplanit.assignment.ltm
Class LtmConfigurator<T extends LtmAssignment>
- java.lang.Object
-
- org.goplanit.utils.builder.Configurator<T>
-
- org.goplanit.assignment.TrafficAssignmentConfigurator<T>
-
- org.goplanit.assignment.ltm.LtmConfigurator<T>
-
- Direct Known Subclasses:
EventBasedLtmConfigurator
,StaticLtmConfigurator
public class LtmConfigurator<T extends LtmAssignment> extends TrafficAssignmentConfigurator<T>
Configurator for sLTM. Adopting the following defaults:- Fundamental diagram: NEWELL
- Node Model: TAMPERE
- Path Choice: not implemented yet
- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.assignment.TrafficAssignmentConfigurator
logSettings, 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 LtmConfigurator(Class<T> ltmClass)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FundamentalDiagramConfigurator<? extends FundamentalDiagramComponent>
createAndRegisterFundamentalDiagram(String fundamentalDiagramType)
choose a particular fundamental diagram implementationNodeModelConfigurator<? extends NodeModelComponent>
createAndRegisterNodeModel(String nodeModelType)
choose a particular node model implementationPathChoiceConfigurator<? extends PathChoice>
createAndRegisterPathChoice(String pathChoiceType)
choose a particular path choice implementationFundamentalDiagramConfigurator<? extends FundamentalDiagramComponent>
getFundamentalDiagram()
Collect the fundamental diagram configuratorNodeModelConfigurator<? extends NodeModelComponent>
getNodeModel()
Collect the node model configuratorPathChoiceConfigurator<? extends PathChoice>
getPathChoice()
Collect the path choice configurator-
Methods inherited from class org.goplanit.assignment.TrafficAssignmentConfigurator
activateOutput, createAndRegisterGapFunction, createAndRegisterPhysicalCost, createAndRegisterSmoothing, createAndRegisterVirtualCost, deactivateOutput, getDemands, getGapFunction, getInfrastructureNetwork, getOutputConfiguration, getOutputFormatters, getOutputManager, getPhysicalCost, getSmoothing, getVirtualCost, getZoning, isLogSettings, isOutputTypeActive, registerInitialLinkSegmentCost, registerInitialLinkSegmentCost, registerInitialLinkSegmentCost, registerOutputFormatter, setDemands, setInfrastructureNetwork, setLogSettings, setOutputManager, setZoning, unregisterOutputFormatter
-
Methods inherited from class org.goplanit.utils.builder.Configurator
callVoidMethod, collectParameterTypes, configure, getClassTypeToConfigure, getFirstParameterOfDelayedMethodCall, registerDelayedMethodCall
-
-
-
-
Constructor Detail
-
LtmConfigurator
public LtmConfigurator(Class<T> ltmClass) throws PlanItException
Constructor- Parameters:
ltmClass
- used- Throws:
PlanItException
- thrown when error
-
-
Method Detail
-
createAndRegisterFundamentalDiagram
public FundamentalDiagramConfigurator<? extends FundamentalDiagramComponent> createAndRegisterFundamentalDiagram(String fundamentalDiagramType) throws PlanItException
choose a particular fundamental diagram implementation- Parameters:
fundamentalDiagramType
- type to choose- Returns:
- configurator
- Throws:
PlanItException
- thrown if error
-
getFundamentalDiagram
public FundamentalDiagramConfigurator<? extends FundamentalDiagramComponent> getFundamentalDiagram()
Collect the fundamental diagram configurator- Returns:
- configurator
-
createAndRegisterNodeModel
public NodeModelConfigurator<? extends NodeModelComponent> createAndRegisterNodeModel(String nodeModelType) throws PlanItException
choose a particular node model implementation- Parameters:
nodeModelType
- type to choose- Returns:
- configurator
- Throws:
PlanItException
- thrown if error
-
getNodeModel
public NodeModelConfigurator<? extends NodeModelComponent> getNodeModel()
Collect the node model configurator- Returns:
- configurator
-
createAndRegisterPathChoice
public PathChoiceConfigurator<? extends PathChoice> createAndRegisterPathChoice(String pathChoiceType) throws PlanItException
choose a particular path choice implementation- Parameters:
pathChoiceType
- type to choose- Returns:
- path choice configurator
- Throws:
PlanItException
- thrown if error
-
getPathChoice
public PathChoiceConfigurator<? extends PathChoice> getPathChoice()
Collect the path choice configurator- Returns:
- path choice configurator
-
-