Package org.planit.assignment.eltm
Class ELTM
- java.lang.Object
-
- org.djutils.event.EventProducer
-
- All Implemented Interfaces:
Serializable,Comparable<Idable>,org.djutils.event.EventProducerInterface,Idable
public class ELTM extends DynamicTrafficAssignment
event based Link Transmission Model implementation (eLTM) for network loading using a capacity constrained (Deterministic) assignment- Author:
- markr
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.planit.assignment.DynamicTrafficAssignment
pathChoice
-
Fields inherited from class org.planit.assignment.CapacityConstrainedAssignment
fundamentalDiagram, nodeModel
-
Fields inherited from class org.planit.assignment.TrafficAssignment
ALGORITHM_B, demands, ELTM, initialLinkSegmentCost, initialLinkSegmentCostByTimePeriod, numberOfNetworkSegments, numberOfNetworkVertices, physicalCost, smoothing, TRADITIONAL_STATIC_ASSIGNMENT, transportNetwork, virtualCost
-
Fields inherited from class org.planit.assignment.TrafficAssignmentComponent
id, tokenId, trafficComponentType
-
-
Constructor Summary
Constructors Constructor Description ELTM(IdGroupingToken groupId)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputTypeAdaptercreateOutputTypeAdapter(OutputType outputType)Create the output type adapter for the current output type, specifically tailored towards the assignment type that we are builingvoidexecuteEquilibration()Run equilibration after resources initialized, including saving resultsintgetIterationIndex()Collect the current iteration index of the simulation-
Methods inherited from class org.planit.assignment.DynamicTrafficAssignment
setPathChoice
-
Methods inherited from class org.planit.assignment.CapacityConstrainedAssignment
setFundamentalDiagram, setNodeModel
-
Methods inherited from class org.planit.assignment.TrafficAssignment
checkForEmptyComponents, createLoggingPrefix, createTransportNetwork, disbandTransportNetwork, execute, finalizeAfterExecution, getGapFunction, getOutputManager, getPhysicalCost, getSmoothing, getTransportNetwork, getVirtualCost, initialiseBeforeExecution, setDemands, setGapFunction, setInfrastructureNetwork, setInitialLinkSegmentCost, setInitialLinkSegmentCost, setOutputManager, setPhysicalCost, setSmoothing, setVirtualCost, setZoning, verifyComponentCompatibility
-
Methods inherited from class org.planit.assignment.TrafficAssignmentComponent
equals, getId, getIdGroupingToken, getSourceId, getTrafficComponentType, hashCode
-
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
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.planit.utils.id.Idable
compareTo, idEquals, idHashCode
-
-
-
-
Constructor Detail
-
ELTM
public ELTM(IdGroupingToken groupId)
Constructor- Parameters:
groupId- contiguous id generation within this group for instances of this class
-
-
Method Detail
-
createOutputTypeAdapter
public OutputTypeAdapter createOutputTypeAdapter(OutputType outputType)
Description copied from class:TrafficAssignmentCreate the output type adapter for the current output type, specifically tailored towards the assignment type that we are builing- Specified by:
createOutputTypeAdapterin classTrafficAssignment- Parameters:
outputType- the current output type- Returns:
- the output type adapter corresponding to the current traffic assignment and output type
-
executeEquilibration
public void executeEquilibration() throws PlanItExceptionDescription copied from class:TrafficAssignmentRun equilibration after resources initialized, including saving results- Specified by:
executeEquilibrationin classTrafficAssignment- Throws:
PlanItException- thrown if there is an error
-
getIterationIndex
public int getIterationIndex()
Description copied from class:TrafficAssignmentCollect the current iteration index of the simulation- Specified by:
getIterationIndexin classTrafficAssignment- Returns:
- current iteration index
-
-