1 package org.opentrafficsim.road.network;
2
3 import org.opentrafficsim.base.NamedConstants;
4
5 /**
6 * Enum to indicate the general lane keeping rules: keep left, keep right, or keep lane. When KEEP_RIGHT or KEEP_LEFT is used,
7 * the gap acceptance policy of the GTU indicates when the vehicle will move back to the left or right after overtaking. The GTU
8 * could decide to stay in a lane and not go back as well; it is a general policy that asks the collaboration of the GTU driver.
9 * <p>
10 * Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
11 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
12 * </p>
13 * @author Alexander Verbraeck
14 */
15 public enum LaneKeepingPolicy implements NamedConstants
16 {
17 /** Constant to indicate that the general policy is to keep right. */
18 KEEPRIGHT,
19
20 /** Constant to indicate that the general policy is to keep left. */
21 KEEPLEFT,
22
23 /** Constant to indicate that the general policy is to keep lane. */
24 KEEPLANE;
25 }