public class LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory extends Object implements LaneBasedTacticalPlannerFactory<LaneBasedGTUFollowingDirectedChangeTacticalPlanner>, Serializable
LaneBasedGTUFollowingChange0TacticalPlanner
.
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Constructor and Description |
---|
LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory(CarFollowingModelFactory<? extends GTUFollowingModelOld> carFollowingModelFactory)
Constructor with car-following model factory.
|
LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory(GTUFollowingModelOld carFollowingModel)
Constructor with fixed stateless car-following and lane change model.
|
Modifier and Type | Method and Description |
---|---|
LaneBasedGTUFollowingDirectedChangeTacticalPlanner |
create(LaneBasedGTU gtu)
Creates a new tactical planner for the given GTU.
|
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics |
getDefaultBehavioralCharacteristics()
Returns a new set of behavioral characteristics with default values for the next tactical planner that will be generated.
|
String |
toString() |
public LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory(CarFollowingModelFactory<? extends GTUFollowingModelOld> carFollowingModelFactory)
carFollowingModelFactory
- car following model factorypublic LaneBasedGTUFollowingDirectedChangeTacticalPlannerFactory(GTUFollowingModelOld carFollowingModel)
carFollowingModel
- car following modelpublic final LaneBasedGTUFollowingDirectedChangeTacticalPlanner create(LaneBasedGTU gtu) throws org.opentrafficsim.core.gtu.GTUException
create
in interface LaneBasedTacticalPlannerFactory<LaneBasedGTUFollowingDirectedChangeTacticalPlanner>
gtu
- GTUorg.opentrafficsim.core.gtu.GTUException
- if the gtu is not suitable in any way for the creation of the tactical plannerpublic final org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics getDefaultBehavioralCharacteristics()
getDefaultBehavioralCharacteristics
in interface LaneBasedTacticalPlannerFactory<LaneBasedGTUFollowingDirectedChangeTacticalPlanner>
Copyright © 2014–2017 Delft University of Technology. All rights reserved.