Uses of Class
org.opentrafficsim.kpi.sampling.TrajectoryGroup
Package
Description
Classes for sampling simulation data.
Indicators based on sampling data.
-
Uses of TrajectoryGroup in org.opentrafficsim.kpi.sampling
Modifier and TypeMethodDescriptionfinal TrajectoryGroup<G>
SamplerData.getTrajectoryGroup
(LaneData<?> lane) Returns the trajectory group of given lane.final TrajectoryGroup<?>
TrajectoryAcceptList.getTrajectoryGroup
(int i) Returns a trajectory group by index.final TrajectoryGroup<G>
TrajectoryGroup.getTrajectoryGroup
(org.djunits.value.vdouble.scalar.Length x0, org.djunits.value.vdouble.scalar.Length x1) Returns trajectory group between two locations.final TrajectoryGroup<G>
TrajectoryGroup.getTrajectoryGroup
(org.djunits.value.vdouble.scalar.Length x0, org.djunits.value.vdouble.scalar.Length x1, org.djunits.value.vdouble.scalar.Time t0, org.djunits.value.vdouble.scalar.Time t1) Returns trajectory group between two locations and between two times.final TrajectoryGroup<G>
TrajectoryGroup.getTrajectoryGroup
(org.djunits.value.vdouble.scalar.Time t0, org.djunits.value.vdouble.scalar.Time t1) Returns trajectory group between two times.Modifier and TypeMethodDescriptionfinal Iterator<TrajectoryGroup<?>>
TrajectoryAcceptList.getTrajectoryGroupIterator()
Returns an iterator over the trajectory groups.<T> List<TrajectoryGroup<G>>
Query.getTrajectoryGroups
(org.djunits.value.vdouble.scalar.Time endTime) Returns a list of TrajectoryGroups in accordance with the query.<T> List<TrajectoryGroup<G>>
Query.getTrajectoryGroups
(org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime) Returns a list of TrajectoryGroups in accordance with the query.Modifier and TypeMethodDescriptionfinal void
TrajectoryAcceptList.addTrajectory
(Trajectory<?> trajectory, TrajectoryGroup<?> trajectoryGroup) Adds aTrajectory
with theTrajectoryGroup
it is from to the accept list.protected final void
SamplerData.putTrajectoryGroup
(LaneData<?> lane, TrajectoryGroup<G> trajectoryGroup) Stores a trajectory group with the lane direction. -
Uses of TrajectoryGroup in org.opentrafficsim.kpi.sampling.indicator
Modifier and TypeMethodDescriptionAbstractIndicator.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.LinearDensityMeanDensity.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.FrequencyMeanIntensity.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.SpeedMeanSpeed.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.DurationMeanTravelTimePerDistance.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.LengthMeanTripLength.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.DurationTotalDelay.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected final <G extends GtuData>
org.djunits.value.vdouble.scalar.DurationTotalDelayReference.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.DimensionlessTotalNumberOfStops.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.LengthTotalTravelDistance.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.protected <G extends GtuData>
org.djunits.value.vdouble.scalar.DurationTotalTravelTime.calculate
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Calculate value for given trajectory group.AbstractIndicator.getValue
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Get value for given query over time interval, returning earlier calculated value if possible.AbstractIndicator.getValue
(Query<G, ?> query, org.djunits.value.vdouble.scalar.Time startTime, org.djunits.value.vdouble.scalar.Time endTime, List<TrajectoryGroup<G>> trajectoryGroups) Get value for given query over time interval, returning earlier calculated value if possible.