public class LaneBasedStrategicalRoutePlannerFactory extends Object implements LaneBasedStrategicalPlannerFactory<LaneBasedStrategicalPlanner>, Serializable
LaneBasedStrategicalRoutePlanner using any LaneBasedTacticalPlannerFactory.
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 |
|---|
LaneBasedStrategicalRoutePlannerFactory(LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> tacticalPlannerFactory)
Constructor with factory for tactical planners.
|
LaneBasedStrategicalRoutePlannerFactory(LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> tacticalPlannerFactory,
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristicsFactory behavioralCharacteristicsFactory)
Constructor with factory for tactical planners.
|
| Modifier and Type | Method and Description |
|---|---|
LaneBasedStrategicalPlanner |
create(LaneBasedGTU gtu,
org.opentrafficsim.core.network.route.Route route)
Creates a new strategical planner for the given GTU.
|
org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics |
getDefaultBehavioralCharacteristics()
Returns a set of behavioral characteristics with default values for the next strategical planner that will be generated.
|
void |
setBehavioralCharacteristics(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics)
Set behavioral characteristics to use with the next creation of a strategical planner.
|
String |
toString() |
public LaneBasedStrategicalRoutePlannerFactory(LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> tacticalPlannerFactory)
tacticalPlannerFactory - factory for tactical plannerspublic LaneBasedStrategicalRoutePlannerFactory(LaneBasedTacticalPlannerFactory<? extends LaneBasedTacticalPlanner> tacticalPlannerFactory, org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristicsFactory behavioralCharacteristicsFactory)
tacticalPlannerFactory - factory for tactical plannersbehavioralCharacteristicsFactory - factory for behavioral characteristicspublic final org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics getDefaultBehavioralCharacteristics()
getDefaultBehavioralCharacteristics in interface LaneBasedStrategicalPlannerFactory<LaneBasedStrategicalPlanner>public final void setBehavioralCharacteristics(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics behavioralCharacteristics)
setBehavioralCharacteristics in interface LaneBasedStrategicalPlannerFactory<LaneBasedStrategicalPlanner>behavioralCharacteristics - behavioral characteristics to use with the next creation of a strategical plannerpublic final LaneBasedStrategicalPlanner create(LaneBasedGTU gtu, org.opentrafficsim.core.network.route.Route route) throws org.opentrafficsim.core.gtu.GTUException
create in interface LaneBasedStrategicalPlannerFactory<LaneBasedStrategicalPlanner>gtu - GTUroute - routeorg.opentrafficsim.core.gtu.GTUException - if the gtu is not suitable in any way for the creation of the strategical plannerCopyright © 2014–2016 Delft University of Technology. All rights reserved.