Package strategies
Class LmrsStrategies.SigmaMeasurement
- java.lang.Object
-
- strategies.LmrsStrategies.SigmaMeasurement
-
- All Implemented Interfaces:
Detector.DetectorMeasurement<List<Double>,List<Double>>
- Enclosing class:
- LmrsStrategies
class LmrsStrategies.SigmaMeasurement extends Object implements Detector.DetectorMeasurement<List<Double>,List<Double>>
Class to store sigma 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 SigmaMeasurement()
-
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)
String
getName()
List<Double>
identity()
boolean
isPeriodic()
String
stringValue(List<Double> aggregate, String format)
-
-
-
Method Detail
-
accumulateEntry
public List<Double> accumulateEntry(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)
- Specified by:
accumulateEntry
in interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
accumulateExit
public List<Double> accumulateExit(List<Double> cumulative, LaneBasedGTU gtu, Detector loopDetector)
- Specified by:
accumulateExit
in interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
isPeriodic
public boolean isPeriodic()
- Specified by:
isPeriodic
in interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
getName
public String getName()
-
stringValue
public String stringValue(List<Double> aggregate, String format)
- Specified by:
stringValue
in interfaceDetector.DetectorMeasurement<List<Double>,List<Double>>
-
-