DrivingDirectionType.java

  1. package org.opentrafficsim.xml.bindings.types;

  2. /**
  3.  * LongitudinalDirectionalityType contains the directionality that can easily be converted into OTS's
  4.  * LongitudinalDirectionality. <br>
  5.  * <br>
  6.  * Copyright (c) 2003-2018 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
  7.  * for project information <a href="https://www.simulation.tudelft.nl/" target="_blank">www.simulation.tudelft.nl</a>. The
  8.  * source code and binary code of this software is proprietary information of Delft University of Technology.
  9.  * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank">Alexander Verbraeck</a>
  10.  */
  11. public enum DrivingDirectionType
  12. {
  13.     /** Direction the same as the direction of the graph, increasing fractional position when driving in this direction. */
  14.     DIR_PLUS,
  15.     /** Direction opposite to the direction of the graph, decreasing fractional position when driving in this direction. */
  16.     DIR_MINUS,
  17.     /** Bidirectional. */
  18.     DIR_BOTH,
  19.     /** No traffic possible. */
  20.     DIR_NONE;
  21. }