Uses of Class
org.opentrafficsim.kpi.sampling.KpiLaneDirection
Package | Description |
---|---|
org.opentrafficsim.kpi.sampling |
Classes for sampling simulation data.
|
-
Uses of KpiLaneDirection in org.opentrafficsim.kpi.sampling
Methods in org.opentrafficsim.kpi.sampling that return KpiLaneDirection Modifier and Type Method Description KpiLaneDirection
SpaceTimeRegion. getLaneDirection()
KpiLaneDirection
TrajectoryGroup. getLaneDirection()
Returns the lane direction.Methods in org.opentrafficsim.kpi.sampling with parameters of type KpiLaneDirection Modifier and Type Method Description void
Query. addSpaceTimeRegion(KpiLaneDirection laneDirection, Length startPosition, Length endPosition, Time startTime, Time endTime)
Defines a region in space and time for which this query is valid.boolean
Sampler. contains(KpiLaneDirection kpiLaneDirection)
Returns whether there is data for the give lane direction.abstract void
Sampler. finalizeRecording(KpiLaneDirection kpiLaneDirection)
Remove listeners to stop recording.TrajectoryGroup<G>
Sampler. getTrajectoryGroup(KpiLaneDirection kpiLaneDirection)
Returns the trajectory group of given lane direction.abstract void
Sampler. initRecording(KpiLaneDirection kpiLaneDirection)
Adds listeners to start recording.void
Sampler. processGtuAddEvent(KpiLaneDirection kpiLaneDirection, Length position, Speed speed, Acceleration acceleration, Time time, G gtu)
Creates a trajectory with the current snapshot of a GTU.void
Sampler. processGtuMoveEvent(KpiLaneDirection kpiLaneDirection, Length position, Speed speed, Acceleration acceleration, Time time, G gtu)
Adds a new snapshot of a GTU to its recording trajectory, if recorded.void
Sampler. processGtuRemoveEvent(KpiLaneDirection kpiLaneDirection, G gtu)
Finalizes a trajectory.void
Sampler. processGtuRemoveEvent(KpiLaneDirection kpiLaneDirection, Length position, Speed speed, Acceleration acceleration, Time time, G gtu)
Finalizes a trajectory with the current snapshot of a GTU.abstract void
Sampler. scheduleStartRecording(Time time, KpiLaneDirection kpiLaneDirection)
Schedules the start of recording for a given lane-direction.abstract void
Sampler. scheduleStopRecording(Time time, KpiLaneDirection kpiLaneDirection)
Schedules the stop of recording for a given lane-direction.void
Sampler. startRecording(KpiLaneDirection kpiLaneDirection)
Start recording at the given time (which should be the current time) on the given lane direction.void
Sampler. stopRecording(KpiLaneDirection kpiLaneDirection)
Stop recording at given lane direction.Constructors in org.opentrafficsim.kpi.sampling with parameters of type KpiLaneDirection Constructor Description SpaceTimeRegion(KpiLaneDirection laneDirection, Length startPosition, Length endPosition, Time startTime, Time endTime)
Trajectory(GtuDataInterface gtu, MetaData metaData, java.util.Set<ExtendedDataType<?,?,?,G>> extendedData, KpiLaneDirection kpiLaneDirection)
TrajectoryGroup(Time startTime, Length startPosition, Length endPosition, KpiLaneDirection laneDirection)
TrajectoryGroup(Time startTime, KpiLaneDirection laneDirection)
Constructor without length specification.