public class ToledoFactory extends Object implements LaneBasedTacticalPlannerFactory<Toledo>
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
ToledoFactory() |
Modifier and Type | Method and Description |
---|---|
Toledo |
create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics |
getDefaultBehavioralCharacteristics()
Returns a set of behavioral characteristics with default values for the next tactical planner that will be generated.
|
String |
toString() |
public final org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics getDefaultBehavioralCharacteristics()
getDefaultBehavioralCharacteristics
in interface LaneBasedTacticalPlannerFactory<Toledo>
public final Toledo create(LaneBasedGTU gtu) throws org.opentrafficsim.core.gtu.GTUException
create
in interface LaneBasedTacticalPlannerFactory<Toledo>
gtu
- GTUorg.opentrafficsim.core.gtu.GTUException
- if the gtu is not suitable in any way for the creation of the tactical plannerCopyright © 2014–2016 Delft University of Technology. All rights reserved.