Class Toledo
- java.lang.Object
-
- org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
-
- org.opentrafficsim.road.gtu.lane.tactical.toledo.Toledo
-
- All Implemented Interfaces:
Serializable
,TacticalPlanner<LaneBasedGTU,LanePerception>
,LaneBasedTacticalPlanner
public class Toledo extends AbstractLaneBasedTacticalPlanner
Implementation of the model of Toledo (2003).
Tomer Toledo (2003) "Integrated Driving Behavior Modeling", Massachusetts Institute of Technology.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 Jun 21, 2016
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static ParameterTypeLength
LOOKAHEAD
Look ahead parameter type.static Random
RANDOM
Random number generator.-
Fields inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
DT, TACTICAL_PLANNER
-
-
Constructor Summary
Constructors Constructor Description Toledo(CarFollowingModel carFollowingModel, LaneBasedGTU gtu)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationalPlan
generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime)
String
toString()
-
Methods inherited from class org.opentrafficsim.road.gtu.lane.tactical.AbstractLaneBasedTacticalPlanner
buildLanePathInfo, buildLanePathInfo, buildLinkListForward, concatenateNull, connectsToPath, determineNextSplit, getCarFollowingModel, getGtu, getPerception, noLaneDrop, setCarFollowingModel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opentrafficsim.road.gtu.lane.tactical.LaneBasedTacticalPlanner
chooseLaneAtSplit, okDistance
-
-
-
-
Field Detail
-
LOOKAHEAD
protected static final ParameterTypeLength LOOKAHEAD
Look ahead parameter type.
-
RANDOM
public static final Random RANDOM
Random number generator.
-
-
Constructor Detail
-
Toledo
public Toledo(CarFollowingModel carFollowingModel, LaneBasedGTU gtu)
Constructor.- Parameters:
carFollowingModel
- CarFollowingModel; Car-following model.gtu
- LaneBasedGTU; GTU
-
-
Method Detail
-
generateOperationalPlan
public final OperationalPlan generateOperationalPlan(Time startTime, DirectedPoint locationAtStartTime) throws OperationalPlanException, GTUException, NetworkException, ParameterException
-
-