View Javadoc
1   package org.opentrafficsim.road.network.lane.conflict;
2   
3   /**
4    * Rule of conflict. This tells a GTU how to respond to the conflict. Whether a GTU has priority or not may come from any 
5    * traffic rule. This only represents the resulting priority.
6    * <p>
7    * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
8    * BSD-style license. See <a href="http://opentrafficsim.org/docs/current/license.html">OpenTrafficSim License</a>.
9    * <p>
10   * @version $Revision$, $LastChangedDate$, by $Author$, initial version Jun 2, 2016 <br>
11   * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
12   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
13   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
14   */
15  public enum ConflictRule
16  {
17      /** Have priority. */
18      PRIORITY,
19  
20      /** Give priority. */
21      GIVE_WAY,
22  
23      /** Stop and give priority. */
24      STOP,
25  
26      /** All-way stop. */
27      ALL_STOP,
28      
29      /** Split. */
30      SPLIT;
31  }