Rail Network

The following schematic shows how links in a network are connected:
Conceptual schematic of rail network links in ALTRIOS

In ALTRIOS, each link (path between junctions along the rail with heading, grade, and location) in the rail network has both a direction and a location so each link has a unique link identification (ID) number for each direction. Each link can must be connected to at least one other link and up to four other links, two in each direction, comprising a previous link, an alternate previous link, a next link, and an alternate next link. Based on the above schematic, we can say that the links are interconnected thusly

Link IDFlipped IDID PrevID Prev AltID NextID Next Alt
18N/AN/A4N/A
29N/AN/A3N/A
3102N/A4N/A
4111375
5124N/A6N/A
6135N/AN/AN/A
7144N/AN/AN/A
8111N/AN/AN/A
9210N/AN/AN/A
10311N/A9N/A
1141412810
12513N/A11N/A
136N/AN/A12N/A
147N/AN/A11N/A

Note that for a particular link, the links corresponding to the "Prev" and "Next" IDs are swapped in the reverse direction -- i.e. in the forward direction, link 4 has links 1 and 3 as "ID Prev" and "ID Prev Alt", respectively, and in the reverse direction, link 4 becomes 11 and has links 8 and 10 as "ID Next" and "ID Next Alt", respectively.

The following schematic shows how link lockouts occur:
Conceptual schematic of links that trigger lockouts