public static class TaskHeadwayBased.TaskHeadwayCollector extends Object implements PerceptionCollectable.PerceptionCollector<org.djunits.value.vdouble.scalar.Duration,LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration>
 Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
TaskHeadwayCollector(org.djunits.value.vdouble.scalar.Speed speed)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PerceptionCollectable.PerceptionAccumulator<LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration> | 
getAccumulator()
Returns the accumulator. 
 | 
PerceptionCollectable.PerceptionFinalizer<org.djunits.value.vdouble.scalar.Duration,org.djunits.value.vdouble.scalar.Duration> | 
getFinalizer()
Returns the finalizer. 
 | 
Supplier<org.djunits.value.vdouble.scalar.Duration> | 
getIdentity()
Returns the identity value, the initial intermediate value. 
 | 
public TaskHeadwayCollector(org.djunits.value.vdouble.scalar.Speed speed)
speed - Speed; speedpublic Supplier<org.djunits.value.vdouble.scalar.Duration> getIdentity()
getIdentity in interface PerceptionCollectable.PerceptionCollector<org.djunits.value.vdouble.scalar.Duration,LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration>public PerceptionCollectable.PerceptionAccumulator<LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration> getAccumulator()
getAccumulator in interface PerceptionCollectable.PerceptionCollector<org.djunits.value.vdouble.scalar.Duration,LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration>public PerceptionCollectable.PerceptionFinalizer<org.djunits.value.vdouble.scalar.Duration,org.djunits.value.vdouble.scalar.Duration> getFinalizer()
getFinalizer in interface PerceptionCollectable.PerceptionCollector<org.djunits.value.vdouble.scalar.Duration,LaneBasedGTU,org.djunits.value.vdouble.scalar.Duration>Copyright © 2014–2018 Delft University of Technology. All rights reserved.