public interface Task extends Identifiable
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.
| Modifier and Type | Method and Description |
|---|---|
double |
calculateTaskDemand(LanePerception perception,
LaneBasedGTU gtu,
Parameters parameters)
Returns the gross task demand to be managed by a task manager.
|
double |
getAnticipationReliance()
Returns the level of anticipation reliance.
|
double |
getTaskDemand()
Returns the gross demand of this task, i.e without considering anticipation reliance.
|
void |
setAnticipationReliance(double anticipationReliance)
Set anticipation reliance.
|
void |
setTaskDemand(double taskDemand)
Sets (gross) task demand.
|
getIddouble calculateTaskDemand(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 GTUvoid setTaskDemand(double taskDemand)
taskDemand - double; set task demanddouble getTaskDemand()
void setAnticipationReliance(double anticipationReliance)
anticipationReliance - double; set anticipation reliancedouble getAnticipationReliance()
Copyright © 2014–2019 Delft University of Technology. All rights reserved.