1 package org.opentrafficsim.road.network.lane.changing; 2 3 /** 4 * Enum to indicate the general lane keeping rules: keep left, keep right, or keep lane. When KEEP_RIGHT or KEEP_LEFT is used, 5 * the gap acceptance policy of the GTU indicates when the vehicle will move back to the left or right after overtaking. The GTU 6 * 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. 7 * <p> 8 * Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 9 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>. 10 * <p> 11 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, 12 * initial version Sep 13, 2015 <br> 13 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 14 */ 15 public enum LaneKeepingPolicy 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 }