public class LaneBasedCFLCTacticalPlannerFactory extends Object implements LaneBasedTacticalPlannerFactory<LaneBasedCFLCTacticalPlanner>, Serializable
LaneBasedCFLCTacticalPlanner.
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 |
|---|
LaneBasedCFLCTacticalPlannerFactory(GTUFollowingModelOld carFollowingModel,
LaneChangeModel laneChangeModel)
Constructor with fixed stateless car-following and lane change model.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedCFLCTacticalPlanner |
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 LaneBasedCFLCTacticalPlannerFactory(GTUFollowingModelOld carFollowingModel, LaneChangeModel laneChangeModel)
carFollowingModel - car following modellaneChangeModel - lane change modelpublic final LaneBasedCFLCTacticalPlanner create(LaneBasedGTU gtu) throws org.opentrafficsim.core.gtu.GTUException
create in interface LaneBasedTacticalPlannerFactory<LaneBasedCFLCTacticalPlanner>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<LaneBasedCFLCTacticalPlanner>Copyright © 2014–2016 Delft University of Technology. All rights reserved.