public class TotalDelay extends AbstractIndicator<Duration>
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
TotalDelay(Speed referenceSpeed) |
| Modifier and Type | Method and Description |
|---|---|
protected Duration |
calculate(Query query,
Time startTime,
Time endTime,
List<TrajectoryGroup> trajectoryGroups)
Calculate value for given trajectory group.
|
String |
toString() |
getValue, getValuepublic TotalDelay(Speed referenceSpeed)
referenceSpeed - reference speed for delayprotected Duration calculate(Query query, Time startTime, Time endTime, List<TrajectoryGroup> trajectoryGroups)
calculate in class AbstractIndicator<Duration>query - querystartTime - start time of interval to calculate indicator overendTime - start time of interval to calculate indicator overtrajectoryGroups - group of trajectories to calculate the indicator forCopyright © 2014–2018 Delft University of Technology. All rights reserved.