Interface TacticalPlannerFactory<T extends TacticalPlanner>
- Type Parameters:
T- class of the tactical planner generated
public interface TacticalPlannerFactory<T extends TacticalPlanner>
A factory class is used to generate tactical planners as the tactical planner is state-full.
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 Jul 29, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Method Summary
Modifier and Type Method Description Tcreate(GTU gtu)Creates a new tactical planner for the given GTU.ParametersgetDefaultParameters()Returns a set of parameters with default values for the next tactical planner that will be generated.
-
Method Details
-
getDefaultParameters
Parameters getDefaultParameters()Returns a set of parameters with default values for the next tactical planner that will be generated.- Returns:
- set of parameters with default values for the next tactical planner that will be generated
-
create
Creates a new tactical planner for the given GTU.- Parameters:
gtu- GTU; GTU- Returns:
- tactical planner for the given GTU
- Throws:
GTUException- if the gtu is not suitable in any way for the creation of the tactical planner
-