Package strategies
Class LmrsStrategies.VDesMeasurement
- java.lang.Object
-
- strategies.LmrsStrategies.VDesMeasurement
-
- All Implemented Interfaces:
Detector.DetectorMeasurement<List<Double>,List<Double>>
- Enclosing class:
- LmrsStrategies
class LmrsStrategies.VDesMeasurement extends Object implements Detector.DetectorMeasurement<List<Double>,List<Double>>
Class to store vDes value.Copyright (c) 2013-2022 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 3 mei 2018
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Constructor Summary
Constructors Constructor Description VDesMeasurement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>accumulateEntry(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)List<Double>accumulateExit(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)List<Double>aggregate(List<Double> cumulative, int count, Duration aggregation)StringgetName()List<Double>identity()booleanisPeriodic()StringstringValue(List<Double> aggregate, String format)
-
-
-
Method Detail
-
accumulateEntry
public List<Double> accumulateEntry(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)
- Specified by:
accumulateEntryin interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
accumulateExit
public List<Double> accumulateExit(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)
- Specified by:
accumulateExitin interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
isPeriodic
public boolean isPeriodic()
- Specified by:
isPeriodicin interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
getName
public String getName()
-
stringValue
public String stringValue(List<Double> aggregate, String format)
- Specified by:
stringValuein interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
-