Class LaneAttributes


  • public final class LaneAttributes
    extends java.lang.Object

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    $LastChangedDate: 2020-01-23 11:14:19 +0100 (Thu, 23 Jan 2020) $, @version $Revision: 6010 $, by $Author: averbraeck $, initial version Jul 23, 2015

    Author:
    Alexander Verbraeck
    • Method Detail

      • parseLaneKeepingPolicy

        public static LaneKeepingPolicy parseLaneKeepingPolicy​(java.lang.String lkpStr)
                                                        throws NetworkException
        Parameters:
        lkpStr - String; the lane keeping policy string.
        Returns:
        the lane keeping policy.
        Throws:
        NetworkException - in case of unknown policy.
      • parseOvertakingConditions

        public static OvertakingConditions parseOvertakingConditions​(java.lang.String ocStr,
                                                                     VissimNetworkLaneParser parser)
                                                              throws NetworkException
        Parameters:
        ocStr - String; the overtaking conditions string.
        parser - VissimNetworkLaneParser; the parser to get access to the defined GTUTypes.
        Returns:
        the overtaking conditions.
        Throws:
        NetworkException - in case of unknown overtaking conditions.