Class TotalDelayReference
java.lang.Object
org.opentrafficsim.kpi.sampling.indicator.AbstractIndicator<Duration>
org.opentrafficsim.road.network.sampling.indicator.TotalDelayReference
public class TotalDelayReference extends AbstractIndicator<Duration>
Delay based on reference speed.
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.
- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 21 nov. 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Constructor Summary
Constructors Constructor Description TotalDelayReference()
-
Method Summary
Modifier and Type Method Description protected <G extends GtuDataInterface>
Durationcalculate(Query<G> query, Time startTime, Time endTime, java.util.List<TrajectoryGroup<G>> trajectoryGroups)
java.lang.String
toString()
Methods inherited from class org.opentrafficsim.kpi.sampling.indicator.AbstractIndicator
getValue, getValue
-
Constructor Details
-
TotalDelayReference
public TotalDelayReference()
-
-
Method Details
-
calculate
protected final <G extends GtuDataInterface> Duration calculate(Query<G> query, Time startTime, Time endTime, java.util.List<TrajectoryGroup<G>> trajectoryGroups)- Specified by:
calculate
in classAbstractIndicator<Duration>
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-