Distances and shortest paths on graphs of bounded highway dimension: simple, fast, dynamic (2312.04235v1)
Abstract: Dijkstra's algorithm is the standard method for computing shortest paths on arbitrary graphs. However, it is slow for large graphs, taking at least linear time. It has been long known that for real world road networks, creating a hierarchy of well-chosen shortcuts allows fast distance and path computation, with exact distance queries seemingly being answered in logarithmic time. However, these methods were but heuristics until the work of Abraham et al.~[JACM 2016], where they defined a graph parameter called highway dimension which is constant for real-world road networks, and showed that in graphs of constant highway dimension, a shortcut hierarchy exists that guarantees shortest distance computation takes $O(\log (U+V))$ time and $O(V \log (U+V))$ space, where $U$ is the ratio of the smallest to largest edge, and $V$ is the number of vertices. The problem is that they were unable to efficiently compute the hierarchy of shortcuts. Here we present a simple and efficient algorithm to compute the needed hierarchy of shortcuts in time and space $O(V \log (U+V))$, as well as supporting updates in time $O( \log (U+V))$.
- Highway dimension and provably efficient shortest path algorithms. J. ACM, 63(5):41:1–41:26, 2016.
- A hub-based labeling algorithm for shortest paths in road networks. In P. M. Pardalos and S. Rebennack, editors, Experimental Algorithms - 10th International Symposium, SEA 2011, Kolimpari, Chania, Crete, Greece, May 5-7, 2011. Proceedings, volume 6630 of Lecture Notes in Computer Science, pages 230–241. Springer, 2011.
- Hierarchical hub labelings for shortest paths. In L. Epstein and P. Ferragina, editors, Algorithms - ESA 2012 - 20th Annual European Symposium, Ljubljana, Slovenia, September 10-12, 2012. Proceedings, volume 7501 of Lecture Notes in Computer Science, pages 24–35. Springer, 2012.
- Highway dimension, shortest paths, and provably efficient algorithms. In M. Charikar, editor, Proceedings of the Twenty-First Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2010, Austin, Texas, USA, January 17-19, 2010, pages 782–793. SIAM, 2010.
- Ultrafast shortest-path queries via transit nodes. In C. Demetrescu, A. V. Goldberg, and D. S. Johnson, editors, The Shortest Path Problem, Proceedings of a DIMACS Workshop, Piscataway, New Jersey, USA, November 13-14, 2006, volume 74 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 175–192. DIMACS/AMS, 2006.
- Experimental study on speed-up techniques for timetable information systems. In C. Liebchen, R. K. Ahuja, and J. A. Mesa, editors, ATMOS 2007 - 7th Workshop on Algorithmic Approaches for Transportation Modeling, Optimization, and Systems, November 15-16, 2007, Sevilla, Spain, volume 7 of OASIcs. Internationales Begegnungs- und Forschungszentrum fuer Informatik (IBFI), Schloss Dagstuhl, Germany, 2007.
- On sparse hitting sets: From fair vertex cover to highway dimension. In H. Dell and J. Nederlof, editors, 17th International Symposium on Parameterized and Exact Computation, IPEC 2022, September 7-9, 2022, Potsdam, Germany, volume 249 of LIPIcs, pages 5:1–5:23. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2022.
- D. Delling and R. F. Werneck. Faster customization of road networks. In V. Bonifaci, C. Demetrescu, and A. Marchetti-Spaccamela, editors, Experimental Algorithms, 12th International Symposium, SEA 2013, Rome, Italy, June 5-7, 2013. Proceedings, volume 7933 of Lecture Notes in Computer Science, pages 30–42. Springer, 2013.
- E. W. Dijkstra. A note on two problems in connexion with graphs. Numerische Mathematik, 1:269–271, 1959.
- Travelling on graphs with small highway dimension. Algorithmica, 83(5):1352–1370, 2021.
- A. E. Feldmann. Fixed-parameter approximations for k-center problems in low highway dimension graphs. Algorithmica, 81(3):1031–1052, 2019.
- A (1+ϵitalic-ϵ\epsilonitalic_ϵ)-embedding of low highway dimension graphs into bounded treewidth graphs. SIAM J. Comput., 47(4):1667–1704, 2018.
- A. E. Feldmann and D. Saulpic. Polynomial time approximation schemes for clustering in low highway dimension graphs. J. Comput. Syst. Sci., 122:72–93, 2021.
- Generalized k-center: Distinguishing doubling and highway dimension. In M. A. Bekos and M. Kaufmann, editors, Graph-Theoretic Concepts in Computer Science - 48th International Workshop, WG 2022, Tübingen, Germany, June 22-24, 2022, Revised Selected Papers, volume 13453 of Lecture Notes in Computer Science, pages 215–229. Springer, 2022.
- Fibonacci heaps and their uses in improved network optimization algorithms. J. ACM, 34(3):596–615, 1987.
- Exact routing in large road networks using contraction hierarchies. Transp. Sci., 46(3):388–404, 2012.
- A. V. Goldberg and C. Harrelson. Computing the shortest path: A search meets graph theory. In Proceedings of the Sixteenth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2005, Vancouver, British Columbia, Canada, January 23-25, 2005, pages 156–165. SIAM, 2005.
- Exploiting hopsets: Improved distance oracles for graphs of constant highway dimension and beyond. In C. Baier, I. Chatzigiannakis, P. Flocchini, and S. Leonardi, editors, 46th International Colloquium on Automata, Languages, and Programming, ICALP 2019, July 9-12, 2019, Patras, Greece, volume 132 of LIPIcs, pages 143:1–143:15. Schloss Dagstuhl - Leibniz-Zentrum für Informatik, 2019.
- R. J. Gutman. Reach-based routing: A new approach to shortest path algorithms optimized for road networks. In L. Arge, G. F. Italiano, and R. Sedgewick, editors, Proceedings of the Sixth Workshop on Algorithm Engineering and Experiments and the First Workshop on Analytic Algorithmics and Combinatorics, New Orleans, LA, USA, January 10, 2004, pages 100–111. SIAM, 2004.
- Engineering multi-level overlay graphs for shortest-path queries. In R. Raman and M. F. Stallmann, editors, Proceedings of the Eighth Workshop on Algorithm Engineering and Experiments, ALENEX 2006, Miami, Florida, USA, January 21, 2006, pages 156–170. SIAM, 2006.
- A. Jayaprakash and M. R. Salavatipour. Approximation schemes for capacitated vehicle routing on graphs of bounded treewidth, bounded doubling, or highway dimension. ACM Trans. Algorithms, 19(2):20:1–20:36, 2023.
- A. Kosowski and L. Viennot. Beyond highway dimension: Small distance labels using tree skeletons. In P. N. Klein, editor, Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SODA 2017, Barcelona, Spain, Hotel Porta Fira, January 16-19, pages 1462–1478. SIAM, 2017.
- U. Lauther. An experimental evaluation of point-to-point shortest path calculation on road networks with precalculated edge-flags. In C. Demetrescu, A. V. Goldberg, and D. S. Johnson, editors, The Shortest Path Problem, Proceedings of a DIMACS Workshop, Piscataway, New Jersey, USA, November 13-14, 2006, volume 74 of DIMACS Series in Discrete Mathematics and Theoretical Computer Science, pages 19–39. DIMACS/AMS, 2006.
- S. Pettie and V. Ramachandran. Computing shortest paths with comparisons and additions. In D. Eppstein, editor, Proceedings of the Thirteenth Annual ACM-SIAM Symposium on Discrete Algorithms, January 6-8, 2002, San Francisco, CA, USA, pages 267–276. ACM/SIAM, 2002.
- P. Sanders and D. Schultes. Engineering highway hierarchies. ACM J. Exp. Algorithmics, 17(1), 2012.
- M. Thorup and U. Zwick. Approximate distance oracles. J. ACM, 52(1):1–24, 2005.