Package org.opentrafficsim.road.network.lane.changing
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-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers
-
ClassDescriptionEnum to indicate the general lane keeping rules: keep left, keep right, or keep lane.This class implements the overtaking conditions.Overtaking on the left allowed for all GTUs, and overtaking on the right allowed when there is a traffic jam.Overtaking on the left allowed for all GTUs, and overtaking on the right allowed under a given speed.Overtaking on both sides allowed.Overtaking on the left allowed for all GTUs.Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.Provide a collection of GTUs that can overtake another collection of GTUs on the left side, but not vice versa.No overtaking allowed.Overtaking on the right allowed for all GTUs, and overtaking on the left allowed when there is a traffic jam.Overtaking on the right allowed for all GTUs, and overtaking on the left allowed under a given speed.Overtaking on the right allowed for all GTUs.Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.Provide a collection of GTUs that can overtake another collection of GTUs on the right side, but not vice versa.Overtaking on both sides allowed for all GTUs; they stay on the same lane (e.g., pedestrians).Overtaking on the left allowed for all GTUs; they stay on the same lane (e.g., bicycles).Overtaking on the right allowed for all GTUs; they stay on the same lane (e.g., bicycles).The direction in which a GTU is allowed to overtake another GTU, used as a return type for evaluating overtaking conditions.