Skip to main content
. 2018 Dec 12;18(12):4399. doi: 10.3390/s18124399
Algorithm 2 Read lanes.
Result: List of links l
  • 1:

    ls Retrieve all lanes from SUMO

  • 2:

    l=

  • 3:

    for all lanes lsls do

  • 4:

        v Retrieve ls vertex from SUMO

  • 5:

        w,h Retrieve ls (width, height) from SUMO

  • 6:

        type Retrieve ls type from SUMO

  • 7:

        ll{(v,w,h,type)}

  • 8:

    end for

  • 9:

    DisplayLanes()