Interface TaskManager
-
- All Known Implementing Classes:
TaskManager.SummativeTaskManager
public interface TaskManagerA task manager controls which task has priority and as a result how anticipation reliance is divided over different tasks.Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.- Version:
- $Revision$, $LastChangedDate$, by $Author$, initial version 30 jan. 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTaskManager.SummativeTaskManagerManages a set of tasks without considering anticipation reliance.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmanage(Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Manage tasks.
-
-
-
Method Detail
-
manage
void manage(Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters) throws ParameterException, GTUException
Manage tasks.- Parameters:
tasks- Set<Task>; tasksperception- LanePerception; perceptiongtu- LaneBasedGTU; gtuparameters- Parameters; parameters- Throws:
ParameterException- if a parameter is missing or out of boundsGTUException- exceptions pertaining to the GTU
-
-