Package org.planit.trafficassignment
Class CapacityConstrainedAssignment
- java.lang.Object
-
- org.djutils.event.EventProducer
-
- org.planit.trafficassignment.TrafficAssignmentComponent<NetworkLoading>
-
- org.planit.supply.networkloading.NetworkLoading
-
- org.planit.trafficassignment.TrafficAssignment
-
- org.planit.trafficassignment.CapacityConstrainedAssignment
-
- All Implemented Interfaces:
Serializable,org.djutils.event.EventProducerInterface
- Direct Known Subclasses:
DynamicTrafficAssignment,ELTM
public abstract class CapacityConstrainedAssignment extends TrafficAssignment
Capacity constrained traffic assignment component- Author:
- markr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CapacityConstrainedTrafficAssignmentBuildercapacityConstrainedBuilderThe builder for all capacity constrained traffic assignment instancesprotected FundamentalDiagramfundamentalDiagramFundamental diagram to useprotected NodeModelnodeModelNode model to use-
Fields inherited from class org.planit.trafficassignment.TrafficAssignment
demands, initialLinkSegmentCost, initialLinkSegmentCostByTimePeriod, numberOfNetworkSegments, numberOfNetworkVertices, outputManager, physicalCost, physicalNetwork, smoothing, TRADITIONAL_STATIC_ASSIGNMENT, trafficAssignmentBuilder, transportNetwork, virtualCost
-
Fields inherited from class org.planit.trafficassignment.TrafficAssignmentComponent
groupId, id, trafficComponentType
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCapacityConstrainedAssignment(IdGroupingToken groupId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetFundamentalDiagram(FundamentalDiagram fundamentalDiagram)Set the fundamental diagramvoidsetNodeModel(NodeModel nodeModel)The node model to use-
Methods inherited from class org.planit.trafficassignment.TrafficAssignment
activateOutput, addRegisteredEventTypeListeners, checkForEmptyComponents, collectBuilder, createLoggingPrefix, createOutputTypeAdapter, createTrafficAssignmentBuilder, createTransportNetwork, deactivateOutput, disbandTransportNetwork, execute, executeEquilibration, finalizeAfterExecution, getGapFunction, getOutputConfiguration, getOutputFormatters, getPhysicalCost, getSimulationData, getSmoothing, getTransportNetwork, getVirtualCost, initialiseBeforeExecution, isOutputTypeActive, registerOutputFormatter, setDemands, setGapFunction, setInitialLinkSegmentCost, setInitialLinkSegmentCost, setPhysicalCost, setPhysicalNetwork, setSmoothing, setVirtualCost, setZoning, unregisterOutputFormatter, verifyComponentCompatibility
-
Methods inherited from class org.planit.trafficassignment.TrafficAssignmentComponent
getId, getIdGroupingtoken, getSourceId, getTrafficComponentType
-
Methods inherited from class org.djutils.event.EventProducer
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, getEventTypesWithListeners, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
-
-
-
-
Field Detail
-
capacityConstrainedBuilder
protected CapacityConstrainedTrafficAssignmentBuilder capacityConstrainedBuilder
The builder for all capacity constrained traffic assignment instances
-
fundamentalDiagram
protected FundamentalDiagram fundamentalDiagram
Fundamental diagram to use
-
nodeModel
protected NodeModel nodeModel
Node model to use
-
-
Constructor Detail
-
CapacityConstrainedAssignment
protected CapacityConstrainedAssignment(IdGroupingToken groupId)
Constructor- Parameters:
groupId- contiguous id generation within this group for instances of this class
-
-
Method Detail
-
setFundamentalDiagram
public void setFundamentalDiagram(FundamentalDiagram fundamentalDiagram)
Set the fundamental diagram- Parameters:
fundamentalDiagram- the fundamental diagram
-
setNodeModel
public void setNodeModel(NodeModel nodeModel)
The node model to use- Parameters:
nodeModel- to use
-
-