public static class Fuller.Task.Constant extends Object implements Fuller.Task
Fuller.Task.Constant| Constructor and Description |
|---|
Constant(double taskDemand)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
public Constant(double taskDemand)
taskDemand - double; task demandpublic double demand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters) throws ParameterException, GTUException
demand in interface Fuller.Taskperception - 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.