Package org.planit.cost.physical.initial
Class InitialLinkSegmentCostPeriod
- java.lang.Object
-
- org.djutils.event.EventProducer
-
- org.planit.assignment.TrafficAssignmentComponent<InitialPhysicalCost>
-
- org.planit.cost.physical.initial.InitialPhysicalCost
-
- org.planit.cost.physical.initial.InitialLinkSegmentCost
-
- org.planit.cost.physical.initial.InitialLinkSegmentCostPeriod
-
- All Implemented Interfaces:
Serializable
,Comparable<Idable>
,org.djutils.event.EventProducerInterface
,Cost<MacroscopicLinkSegment>
,PhysicalCost
,Idable
public class InitialLinkSegmentCostPeriod extends InitialLinkSegmentCost
Identical to InitialLinkSegmentCost except that it is directly attached to a particular time period.- Author:
- markr
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected TimePeriod
timePeriod
The time period which this initial cost object applies to.-
Fields inherited from class org.planit.cost.physical.initial.InitialLinkSegmentCost
costPerModeAndLinkSegment
-
Fields inherited from class org.planit.assignment.TrafficAssignmentComponent
id, tokenId, trafficComponentType
-
Fields inherited from interface org.djutils.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
-
Fields inherited from interface org.planit.cost.physical.PhysicalCost
BPR
-
-
Constructor Summary
Constructors Constructor Description InitialLinkSegmentCostPeriod(IdGroupingToken groupId)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TimePeriod
getTimePeriod()
void
setTimePeriod(TimePeriod timePeriod)
-
Methods inherited from class org.planit.cost.physical.initial.InitialLinkSegmentCost
getId, getSegmentCost, isSegmentCostsSetForMode, setSegmentCost, setSegmentCost
-
Methods inherited from class org.planit.assignment.TrafficAssignmentComponent
equals, 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
-
-
-
-
Field Detail
-
timePeriod
protected TimePeriod timePeriod
The time period which this initial cost object applies to. If this property is not set, this initial cost object applies to all time periods.
-
-
Constructor Detail
-
InitialLinkSegmentCostPeriod
public InitialLinkSegmentCostPeriod(IdGroupingToken groupId)
Constructor- Parameters:
groupId
- , contiguous id generation within this group for instances of this class
-
-
Method Detail
-
getTimePeriod
public TimePeriod getTimePeriod()
-
setTimePeriod
public void setTimePeriod(TimePeriod timePeriod)
-
-