Transit node routing

This is an old revision of this page, as edited by Mwoelkde (talk | contribs) at 12:48, 28 June 2019. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In applied mathematics, transit node routing can be used to speed up shortest-path routing by pre-computing connections between common access nodes to a sub-network relevant to long-distance travel.

Intuition

Long-distance travel usually involves driving along a specialised subset of the road network such as highways. This sub-network can only be entered by using sparsely distributed access-nodes. When compared to one another, multiple long-distance routes starting at the same ___location always use the same small amount of access nodes close to the starting ___location to enter this network. In the same way, similar target locations are always reached by using the same access nodes close to them.

Because the number of such access nodes is small compared to the overall number of nodes in a road network, all shortest routes connecting those nodes with each other can be pre-calculated and stored. When calculating a shortest path therefore only routes to access nodes close to start and target ___location need to be calculated.

General Framework

  1. Transit node routing starts with a selection of transit nodes   as a subset of all nodes   of the road network.
  2. For every node   dedicated sets of forward access-nodes   and backward access-nodes   are chosen from all transit nodes.
  3. Now, pairwise distances between transit nodes   and distances between nodes   and their corresponding access-nodes   are calculated.
  4. A distance between two nodes can now be calculated as  

Locality Filter

Short routes between close start and target locations may not require any transit nodes. In this case, the above framework leads to incorrect distances because it forces routes to visit at least one transit node.

To prevent this kind of problem, a locality filter can be used. For given start and target locations, the locality filter decides, if transit node routing should be applied or if a fallback-routine should be used.