1 package org.opentrafficsim.road.network.lane.changing;
2
3 /**
4 * The direction in which a GTU is allowed to overtake another GTU, used as a return type for evaluating overtaking conditions.
5 * <p>
6 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
8 * <p>
9 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
10 * initial version Sep 13, 2015 <br>
11 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12 */
13 public enum OvertakingDirection
14 {
15 /** Left only. */
16 LEFT,
17
18 /** Right only. */
19 RIGHT,
20
21 /** Left and right are both allowed. */
22 BOTH,
23
24 /** Neither left nor right are allowed. */
25 NONE;
26
27 }