public class TaskRoadSideDistraction extends Object implements Fuller.Task
Copyright (c) 2013-2018 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Fuller.Task.Constant
Constructor and Description |
---|
TaskRoadSideDistraction() |
Modifier and Type | Method and Description |
---|---|
double |
demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
public double demand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters) throws ParameterException, GTUException
demand
in interface Fuller.Task
perception
- LanePerception; perceptiongtu
- LaneBasedGTU; gtuparameters
- Parameters; parametersParameterException
- if a parameter is missing or out of boundsGTUException
- exceptions pertaining to the GTUCopyright © 2014–2018 Delft University of Technology. All rights reserved.