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 KpiLaneDirectionSpaceTimeRegion. getLaneDirection()KpiLaneDirectionTrajectoryGroup. getLaneDirection()Returns the lane direction.Methods in org.opentrafficsim.kpi.sampling with parameters of type KpiLaneDirection Modifier and Type Method Description voidQuery. addSpaceTimeRegion(KpiLaneDirection laneDirection, Length startPosition, Length endPosition, Time startTime, Time endTime)Defines a region in space and time for which this query is valid.booleanSampler. contains(KpiLaneDirection kpiLaneDirection)Returns whether there is data for the give lane direction.abstract voidSampler. finalizeRecording(KpiLaneDirection kpiLaneDirection)Remove listeners to stop recording.TrajectoryGroup<G>Sampler. getTrajectoryGroup(KpiLaneDirection kpiLaneDirection)Returns the trajectory group of given lane direction.abstract voidSampler. initRecording(KpiLaneDirection kpiLaneDirection)Adds listeners to start recording.voidSampler. processGtuAddEvent(KpiLaneDirection kpiLaneDirection, Length position, Speed speed, Acceleration acceleration, Time time, G gtu)Creates a trajectory with the current snapshot of a GTU.voidSampler. 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.voidSampler. processGtuRemoveEvent(KpiLaneDirection kpiLaneDirection, G gtu)Finalizes a trajectory.voidSampler. processGtuRemoveEvent(KpiLaneDirection kpiLaneDirection, Length position, Speed speed, Acceleration acceleration, Time time, G gtu)Finalizes a trajectory with the current snapshot of a GTU.abstract voidSampler. scheduleStartRecording(Time time, KpiLaneDirection kpiLaneDirection)Schedules the start of recording for a given lane-direction.abstract voidSampler. scheduleStopRecording(Time time, KpiLaneDirection kpiLaneDirection)Schedules the stop of recording for a given lane-direction.voidSampler. startRecording(KpiLaneDirection kpiLaneDirection)Start recording at the given time (which should be the current time) on the given lane direction.voidSampler. 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.