Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

6 Final Remarks

The last decade has seen astonishing progress in the performance of shortest path algorithms on transportation networks. For routing in road networks, in particular, modern algorithms can be up to seven orders of magnitude faster than standard solutions. Successful approaches exploit different properties of road networks that make them easier to deal with than general graphs, such as goal direction, a strong hierarchical structure, and the existence of small separators. Although some early acceleration techniques relied heavily on geometry (road networks are after all embedded on the surface of the Earth), no current state-of-the-art algorithm makes explicit use of vertex coordinates (see Table 1). While one still sees the occasional development (and publication) of geometry-based algorithms they are consistently dominated by established techniques. In particular, the recent Arterial Hierarchies [260] algorithm is compared to CH (which has slightly slower queries), but not to other previously published techniques (such as CHASE, HL, and TNR) that would easily dominate it. This shows that results in this rapidly-evolving area are often slow to reach some communities; we hope this survey will help improve this state of affairs.

Note that experiments on real data are very important, as properties of production data are not always accurately captured by simplified models and folklore assumptions. For example, the common belief that an algorithm can be augmented to include turn penalties without significant loss in performance turned out to be wrong for CH [76].

Another important lesson from recent developments is that careful engineering is essential to unleash the full computational power of modern computer architectures. Algorithms such as CRP, CSA, HL, PHAST, and RAPTOR, for example, achieve much of their good performance by carefully exploiting locality of reference and parallelism (at the level of instructions, cores, and even GPUs).

The ultimate validation of several of the approaches described here is that they have found their way into systems that serve millions of users every day. Several authors of papers cited in this survey have worked on routingrelated projects for companies like Apple, Esri, Google, MapBox, Microsoft, Nokia, PTV, TeleNav, TomTom, and Yandex. Although companies tend to be secretive about the actual algorithms they use, in some cases this is public knowledge. TomTom uses a variant of Arc Flags with shortcuts to perform time-dependent queries [231]. Microsoft’s Bing Maps1 use CRP for routing in road networks. OSRM [185], a popular route planning engine using OpenStreetMap data, uses CH for queries. The Transfer Patterns [24] algorithm has been in use for public-transit journey planning on Google Maps2 since 2010. RAPTOR is currently in use by OpenTripPlanner3 .

These recent successes do not mean that all problems in this area are solved. The ultimate goal, a worldwide multimodal journey planner, has not yet been reached. Systems like Rome2Rio4 provide a simplified first step, but a more useful system would take into account real-time traffic and transit information, historic patterns, schedule constraints, and monetary costs. Moreover, all these elements should be combined in a personalized manner. Solving such a general problem efficiently seems beyond the reach of current algorithms. Given the recent pace of progress, however, a solution may be closer than expected.

Table 3. Performance of various public transit algorithms on random queries. For each algorithm, the table indicates the implementation tested (which may not be the publication introducing the algorithm), the instance it was tested on, its total number of elementary connections (in millions) as well as the number of consecutive days they cover. A “p” indicates that the timetable is periodic (with a period of one day). The table then shows the criteria that are optimized (a subset of arrival times, transfers, full range, fares, and reliability), followed by total preprocessing time, average number of comparisons per stop, average number of journeys in the Pareto set, and average query times in milliseconds. Missing entries either do not apply (–) or are well-defined but not available (n/a).

inputcriteriaquery
algorithmimpl.nameconn.
[103]
dy.arr.
t
ran.
rng.
fare
rel.
prep.
[h]
comp.
/stop
jn.time
[ms]
TEDLondon5.11_• _◦◦◦◦–50.60.944.8
TDD[93]London5.11_• _◦◦◦◦–7.40.911.0
CH[136]Europe (lng)1.7p_• _◦◦◦◦_<_0.1_<_0.1n/a0.3
CSA[105]London4.91_• _◦◦◦◦–26.6n/a2.0
ACSA[242]Germany46.22_• _◦◦◦◦–n/an/a8.7
T. Patterns[27]Germany90.47_• _◦◦◦◦541–1.00.4
LD[93]London5.11_• __• _◦◦◦–15.61.828.7
MLS[93]London5.11_• __• _◦◦◦–23.71.850.0
RAPTOR[93]London5.11_• __• _◦◦◦–10.91.85.4
T. Patterns[27]Germany90.47_• __• _◦◦◦566–2.00.8
CH[136]Europe (lng)1.7p_• _◦• ◦◦_<_0.1_<_0.1n/a3.7
SPCS[105]London4.91_• _◦• ◦◦–372.598.2843.0
CSA[105]London4.91_• _◦• ◦◦–436.998.2161.0
ACSA[242]Germany46.22_• _◦• ◦◦8n/an/a171.0
T. Patterns[27]Germany90.47_• _◦• ◦◦541–121.222.0
rRAPTOR[105]London4.91_• __• _• ◦◦–1634.0203.4922.0
CSA[105]London4.91_• __• _• ◦◦–3824.9203.4466.0
T. Patterns[27]Germany90.47_• __• _• ◦◦566–226.039.6
MLS[93]London5.11_• __• _◦• ◦–818.28.8304.2
McRAPTOR[93]London5.11_• __• _◦• ◦–277.58.8100.9
MLS[93]London5.11_• __• _◦◦•–286.64.7239.8
McRAPTOR[93]London5.1
68
1_• __• _◦◦•–89.64.771.9

  1. http://www.bing.com/blogs/site_blogs/b/maps/archive/2012/01/05/ bing-maps-new-routing-engine.aspx ↩

  2. http://www.google.com/transit ↩

  3. http://opentripplanner.com ↩ ↩2

  4. http://www.rome2rio.com ↩