Interface TaskManager
- All Known Implementing Classes:
 TaskManager.SummativeTaskManager
public interface TaskManager
A 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
Modifier and Type Method Description voidmanage(java.util.Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters)Manage tasks. 
- 
Method Details
- 
manage
void manage(java.util.Set<Task> tasks, LanePerception perception, LaneBasedGTU gtu, Parameters parameters) throws ParameterException, GTUExceptionManage 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
 
 -