Uses of Class
org.opentrafficsim.kpi.sampling.TrajectoryGroup

Packages that use TrajectoryGroup
Package
Description
Classes for sampling simulation data.
Indicators based on sampling data.
  • Uses of TrajectoryGroup in org.opentrafficsim.kpi.sampling

    Modifier and Type
    Method
    Description
    SamplerData.getTrajectoryGroup(LaneData<?> lane)
    Returns the trajectory group of given lane.
    TrajectoryAcceptList.getTrajectoryGroup(int i)
    Returns a trajectory group by index.
    TrajectoryGroup.getTrajectoryGroup(org.djunits.value.vdouble.scalar.Length x0, org.djunits.value.vdouble.scalar.Length x1)
    Returns trajectory group between two locations.
    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.
    TrajectoryGroup.getTrajectoryGroup(org.djunits.value.vdouble.scalar.Time t0, org.djunits.value.vdouble.scalar.Time t1)
    Returns trajectory group between two times.
    Methods in org.opentrafficsim.kpi.sampling that return types with arguments of type TrajectoryGroup
    Modifier and Type
    Method
    Description
    TrajectoryAcceptList.getTrajectoryGroupIterator()
    Returns an iterator over the trajectory groups.
    Query.getTrajectoryGroups(org.djunits.value.vdouble.scalar.Time endTime)
    Returns a list of TrajectoryGroups in accordance with the query.
    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.
    Methods in org.opentrafficsim.kpi.sampling with parameters of type TrajectoryGroup
    Modifier and Type
    Method
    Description
    final void
    TrajectoryAcceptList.addTrajectory(Trajectory<?> trajectory, TrajectoryGroup<?> trajectoryGroup)
    Adds a Trajectory with the TrajectoryGroup 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

    Method parameters in org.opentrafficsim.kpi.sampling.indicator with type arguments of type TrajectoryGroup
    Modifier and Type
    Method
    Description
    protected abstract <G extends GtuData>
    T
    AbstractIndicator.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.LinearDensity
    MeanDensity.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.Frequency
    MeanIntensity.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.Speed
    MeanSpeed.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.Duration
    MeanTravelTimePerDistance.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.Length
    MeanTripLength.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.Duration
    TotalDelay.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.Duration
    TotalDelayReference.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.Dimensionless
    TotalNumberOfStops.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.Length
    TotalTravelDistance.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.Duration
    TotalTravelTime.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.
    final <G extends GtuData>
    T
    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.
    final <G extends GtuData>
    T
    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.