Package org.goplanit.assignment.ltm.sltm
Class StaticLtmTrafficAssignmentBuilder
- java.lang.Object
-
- org.goplanit.utils.builder.Builder<T>
-
- org.goplanit.component.PlanitComponentBuilder<T>
-
- org.goplanit.assignment.TrafficAssignmentBuilder<T>
-
- org.goplanit.assignment.ltm.LtmTrafficAssignmentBuilder<StaticLtm>
-
- org.goplanit.assignment.ltm.sltm.StaticLtmTrafficAssignmentBuilder
-
public class StaticLtmTrafficAssignmentBuilder extends LtmTrafficAssignmentBuilder<StaticLtm>
The sLTM traffic assignment builder. This is a capacity constrained traffic assignment builder specifically for sLTM. It user exposed options are made available through theStaticLtmConfigurator.- Author:
- markr
-
-
Field Summary
-
Fields inherited from class org.goplanit.assignment.TrafficAssignmentBuilder
LOGGER
-
Fields inherited from class org.goplanit.component.PlanitComponentBuilder
groupId
-
-
Constructor Summary
Constructors Constructor Description StaticLtmTrafficAssignmentBuilder(IdGroupingToken groupId, InputBuilderListener inputBuilderListener, Demands demands, Zoning zoning, TransportLayerNetwork<?,?> network)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StaticLtmConfiguratorcreateConfigurator()create the configurator for sLTM-
Methods inherited from class org.goplanit.assignment.ltm.LtmTrafficAssignmentBuilder
buildSubComponents, createFundamentalDiagramComponentInstance, createPathChoiceInstance, getConfigurator
-
Methods inherited from class org.goplanit.assignment.TrafficAssignmentBuilder
build, createGapFunctionInstance, createPhysicalCostInstance, createSmoothingInstance, createTrafficAssignmentInstance, createVirtualCostInstance
-
Methods inherited from class org.goplanit.component.PlanitComponentBuilder
getGroupIdToken, getInputBuilderListener
-
Methods inherited from class org.goplanit.utils.builder.Builder
getClassToBuild
-
-
-
-
Constructor Detail
-
StaticLtmTrafficAssignmentBuilder
public StaticLtmTrafficAssignmentBuilder(IdGroupingToken groupId, InputBuilderListener inputBuilderListener, Demands demands, Zoning zoning, TransportLayerNetwork<?,?> network) throws PlanItException
Constructor- Parameters:
groupId- the id generation group this builder is part ofinputBuilderListener- the listeners registered on all traffic components this builder createsdemands- the demandszoning- the zoningnetwork- the network- Throws:
PlanItException- when triangular fundamental diagram cannot be instantiated
-
-
Method Detail
-
createConfigurator
protected StaticLtmConfigurator createConfigurator() throws PlanItException
create the configurator for sLTM- Specified by:
createConfiguratorin classTrafficAssignmentBuilder<StaticLtm>- Returns:
- sLTM configurator
- Throws:
PlanItException- thrown if error
-
-