| Package | Description | 
|---|---|
| org.opentrafficsim.kpi.sampling | Classes for sampling simulation data. | 
| org.opentrafficsim.kpi.sampling.data | Extended data for trajectories. | 
| org.opentrafficsim.kpi.sampling.indicator | Indicators based on sampling data. | 
| org.opentrafficsim.kpi.sampling.meta | Metadata for grouping and selecting sampling data. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | Query<G extends GtuDataInterface>A query defines which subset of trajectory information should be included. | 
| class  | Sampler<G extends GtuDataInterface>Sampler is the highest level organizer for sampling. | 
| class  | Trajectory<G extends GtuDataInterface>Contains position, speed, acceleration and time data of a GTU, over some section. | 
| class  | TrajectoryGroup<G extends GtuDataInterface>Contains all trajectories pertaining to a certain space-time region. | 
| Constructor and Description | 
|---|
| Trajectory(GtuDataInterface gtu,
          MetaData metaData,
          Set<ExtendedDataType<?,?,?,G>> extendedData,
          KpiLaneDirection kpiLaneDirection) | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ExtendedDataType<T,O,S,G extends GtuDataInterface>Type class to define different types of data by which trajectories can be extended beyond the basic t, x, v, a. | 
| class  | ExtendedDataTypeDuration<G extends GtuDataInterface>Extended data type for duration values. | 
| class  | ExtendedDataTypeFloat<U extends Unit<U>,T extends AbstractFloatScalar<U,T>,O extends AbstractFloatVector<U,O>,G extends GtuDataInterface>Class to facilitate JUNITS types in extended data. | 
| class  | ExtendedDataTypeLength<G extends GtuDataInterface>Extended data type for length values. | 
| class  | ExtendedDataTypeList<T,G extends GtuDataInterface>Extended data type for anything that can be captured in a list. | 
| class  | ExtendedDataTypeNumber<G extends GtuDataInterface>Class for unitless values. | 
| class  | ExtendedDataTypeSpeed<G extends GtuDataInterface>Extended data type for speed values. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected <G extends GtuDataInterface> | TotalTravelTime. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | TotalTravelDistance. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | TotalNumberOfStops. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | TotalDelay. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | MeanTripLength. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | MeanTravelTimePerDistance. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | MeanSpeed. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | MeanIntensity. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected <G extends GtuDataInterface> | MeanDensity. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| protected abstract <G extends GtuDataInterface> | AbstractIndicator. calculate(Query<G> query,
         Time startTime,
         Time endTime,
         List<TrajectoryGroup<G>> trajectoryGroups)Calculate value for given trajectory group. | 
| <G extends GtuDataInterface> | AbstractIndicator. getValue(Query<G> query,
        Time endTime,
        List<TrajectoryGroup<G>> trajectoryGroups)Get value for given query over time interval, returning earlier calculated value if possible. | 
| <G extends GtuDataInterface> | AbstractIndicator. getValue(Query<G> query,
        Time startTime,
        Time endTime,
        List<TrajectoryGroup<G>> trajectoryGroups)Get value for given query over time interval, returning earlier calculated value if possible. | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract T | MetaDataType. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
| RouteDataInterface | MetaDataRoute. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
| NodeDataInterface | MetaDataOrigin. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
| GtuTypeDataInterface | MetaDataGtuType. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
| NodeDataInterface | MetaDataDestination. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
| CrossSection | MetaDataCrossSections. getValue(GtuDataInterface gtu)Retrieves the value of the meta data of this type from a GTU. | 
Copyright © 2014–2019 Delft University of Technology. All rights reserved.