public static class Fuller.Task.Constant extends Fuller.IdentifiableTask
Fuller.Task.Constant, Fuller.Task.Exponential
Constructor and Description |
---|
Constant(String id,
double taskDemand)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
demand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the demand of this task.
|
getId, toString
public Constant(String id, double taskDemand)
id
- String; idtaskDemand
- double; task demandpublic double demand(LanePerception perception, LaneBasedGTU gtu, Parameters parameters) throws ParameterException, GTUException
perception
- LanePerception; perceptiongtu
- LaneBasedGTU; gtuparameters
- Parameters; parametersParameterException
- if a parameter is missing or out of boundsGTUException
- exceptions pertaining to the GTUCopyright © 2014–2019 Delft University of Technology. All rights reserved.