public class TaskCarFollowing extends TaskHeadwayBased
 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.
 
TaskHeadwayBased.TaskHeadwayCollector| Constructor and Description | 
|---|
TaskCarFollowing()
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected Duration | 
getHeadway(LanePerception perception,
          LaneBasedGTU gtu,
          Parameters parameters)
Returns a collector for the task demand. 
 | 
calculateTaskDemand, getSpeedgetAnticipationReliance, getId, getTaskDemand, setAnticipationReliance, setTaskDemand, toStringprotected Duration getHeadway(LanePerception perception, LaneBasedGTU gtu, Parameters parameters)
getHeadway in class TaskHeadwayBasedperception - LanePerception; perceptiongtu - LaneBasedGTU; gtuparameters - Parameters; parametersnull of none.Copyright © 2014–2019 Delft University of Technology. All rights reserved.