![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A connection between lanes. More...
#include <MSLink.h>
A connection between lanes.
A link is basically a connection between two lanes, stored within the originating (the one that is being left) lane and pointing to the approached lane. When using inner-junction simulation, additionally a "via-lane" is stored, the one that is used to cross the junction and which represents the links shape.
Because right-of-way rules are controlled by the junctions, the link stores the information about where to write information about approaching vehicles (the "request") and where to get the information whether the vehicle really may drive (the "respond").
Because a link is a connection over a junction, it basically also has a length. This length is needed to assure that vehicles have the correct halting distance before approaching the link. In the case of using internal lanes, the link's length is 0.