public class MeanTripLength extends AbstractIndicator<Length>
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
MeanTripLength() |
| Modifier and Type | Method and Description |
|---|---|
protected <G extends GtuDataInterface> |
calculate(Query<G> query,
Time startTime,
Time endTime,
List<TrajectoryGroup<G>> trajectoryGroups)
Calculate value for given trajectory group.
|
String |
toString() |
getValue, getValueprotected <G extends GtuDataInterface> Length calculate(Query<G> query, Time startTime, Time endTime, List<TrajectoryGroup<G>> trajectoryGroups)
calculate in class AbstractIndicator<Length>G - gtu data typequery - Query<G>; querystartTime - Time; start time of interval to calculate indicator overendTime - Time; start time of interval to calculate indicator overtrajectoryGroups - List<TrajectoryGroup<G>>; group of trajectories to calculate the indicator forCopyright © 2014–2019 Delft University of Technology. All rights reserved.