Package org.planit.cost.physical
Class PhysicalCost
- java.lang.Object
- 
- org.djutils.event.EventProducer
- 
- org.planit.trafficassignment.TrafficAssignmentComponent<PhysicalCost>
- 
- org.planit.cost.physical.PhysicalCost
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- org.djutils.event.EventProducerInterface,- Cost<LinkSegment>,- AbstractPhysicalCost
 - Direct Known Subclasses:
- BPRLinkTravelTimeCost
 
 public abstract class PhysicalCost extends TrafficAssignmentComponent<PhysicalCost> implements AbstractPhysicalCost Class for dynamic cost functions, which calculate link segment costs for each iteration- Author:
- markr, gman6028
- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringBPRshort hand for configuring physical cost with BPR function instance- 
Fields inherited from class org.planit.trafficassignment.TrafficAssignmentComponentgroupId, id, trafficComponentType
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedPhysicalCost(IdGroupingToken groupId)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract voidinitialiseBeforeSimulation(PhysicalNetwork physicalNetwork)Initialize the cost parameter values in the network- 
Methods inherited from class org.planit.trafficassignment.TrafficAssignmentComponentgetId, getIdGroupingtoken, getSourceId, getTrafficComponentType
 - 
Methods inherited from class org.djutils.event.EventProduceraddListener, 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.planit.cost.CostgetSegmentCost
 
- 
 
- 
- 
- 
Field Detail- 
BPRpublic static final String BPR short hand for configuring physical cost with BPR function instance
 
- 
 - 
Constructor Detail- 
PhysicalCostprotected PhysicalCost(IdGroupingToken groupId) - Parameters:
- groupId- , contiguous id generation within this group for instances of this class
 
 
- 
 - 
Method Detail- 
initialiseBeforeSimulationpublic abstract void initialiseBeforeSimulation(PhysicalNetwork physicalNetwork) throws PlanItException Initialize the cost parameter values in the network- Parameters:
- physicalNetwork- the physical network
- Throws:
- PlanItException- thrown if a link/mode combination exists for which no cost parameters have been set
 
 
- 
 
-