Package org.opentrafficsim.road.network.lane.changing
Lane change possibility models. This package codes lane change possibility models that indicate under what circumstances GTUs
are allowed to change lane, and what lane keeping policies are in place. Examples of lane keeping policies are "keep right",
"keep left" or "keep lane". The infrastructure could allow to overtake on the left, but not on the right; often this is
combines with allowing to pass another GTU on the right when the density is above a certain threshold, or the speed below a
certain value. Otherwise, cars would not drive to a traffic light in parallel, because that would be considered overtaking on
the right. There could also be details that differ per GTU type: on some stretches of highway, trucks are not allowed to
overtake. Similarly, on secondary roads it is sometimes forbidden to overtake, except when the GTU in front is a tractor, or
other vehicle with a lower speed limit. The models in this package should allow to code for these situations and indicate
whether changing lane to the left or right is allowed, given the circumstances.
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.
$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
initial version Sep 13, 2015
- Author:
- Alexander Verbraeck, Peter Knoppers
-
Interface Summary Interface Description OvertakingConditions This class implements the overtaking conditions. -
Class Summary Class Description OvertakingConditions.LeftAlwaysRightJam Overtaking on the left allowed for all GTUs, and overtaking on the right allowed when there is a traffic jam.OvertakingConditions.LeftAlwaysRightSpeed Overtaking on the left allowed for all GTUs, and overtaking on the right allowed under a given speed.OvertakingConditions.LeftAndRight Overtaking on both sides allowed.OvertakingConditions.LeftOnly Overtaking on the left allowed for all GTUs.OvertakingConditions.LeftSet Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.OvertakingConditions.LeftSetRightJam Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.OvertakingConditions.LeftSetRightSpeed Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.OvertakingConditions.None No overtaking allowed.OvertakingConditions.RightAlwaysLeftJam Overtaking on the right allowed for all GTUs, and overtaking on the left allowed when there is a traffic jam.OvertakingConditions.RightAlwaysLeftSpeed Overtaking on the right allowed for all GTUs, and overtaking on the left allowed under a given speed.OvertakingConditions.RightOnly Overtaking on the right allowed for all GTUs.OvertakingConditions.RightSet Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.OvertakingConditions.RightSetLeftJam Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.OvertakingConditions.RightSetLeftSpeed Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.OvertakingConditions.SameLaneBoth Overtaking on both sides allowed for all GTUs; they stay on the same lane (e.g., pedestrians).OvertakingConditions.SameLaneLeft Overtaking on the left allowed for all GTUs; they stay on the same lane (e.g., bicycles).OvertakingConditions.SameLaneRight Overtaking on the right allowed for all GTUs; they stay on the same lane (e.g., bicycles). -
Enum Summary Enum Description LaneKeepingPolicy Enum to indicate the general lane keeping rules: keep left, keep right, or keep lane.OvertakingDirection The direction in which a GTU is allowed to overtake another GTU, used as a return type for evaluating overtaking conditions.