skip to main content
10.1145/2463676.2465277acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Shortest path and distance queries on road networks: towards bridging theory and practice

Published: 22 June 2013 Publication History

Abstract

Given two locations s and t in a road network, a distance query returns the minimum network distance from s to t, while a shortest path query computes the actual route that achieves the minimum distance. These two types of queries find important applications in practice, and a plethora of solutions have been proposed in past few decades. The existing solutions, however, are optimized for either practical or asymptotic performance, but not both. In particular, the techniques with enhanced practical efficiency are mostly heuristic-based, and they offer unattractive worst-case guarantees in terms of space and time. On the other hand, the methods that are worst-case efficient often entail prohibitive preprocessing or space overheads, which render them inapplicable for the large road networks (with millions of nodes) commonly used in modern map applications.
This paper presents Arterial Hierarchy (AH), an index structure that narrows the gap between theory and practice in answering shortest path and distance queries on road networks. On the theoretical side, we show that, under a realistic assumption, AH answers any distance query in Õ(log α) time, where α = dmax/dmin, and dmax (resp. dmin) is the largest (resp. smallest) L distance between any two nodes in the road network. In addition, any shortest path query can be answered in Õ(k + log α) time, where k is the number of nodes on the shortest path. On the practical side, we experimentally evaluate AH on a large set of real road networks with up to twenty million nodes, and we demonstrate that (i) AH outperforms the state of the art in terms of query time, and (ii) its space and pre-computation overheads are moderate.

References

[1]
https://sourceforge.net/projects/ntu-sp-exp/.
[2]
http://algo2.iti.kit.edu/routeplanning.php.
[3]
http://www.dis.uniroma1.it/~challenge9/.
[4]
I. Abraham, A. Fiat, A. V. Goldberg, and R. F. F. Werneck. Highway dimension, shortest paths, and provably efficient algorithms. In SODA, pages 782--793, 2010.
[5]
H. Bast, S. Funke, and D. Matijevic. Transit: ultrafast shortest-path queries with linear-time preprocessing. In Proc. of the 9th DIMACS Implementation Challenge, pages 175--192, 2006.
[6]
H. Bast, S. Funke, P. Sanders, and D. Schultes. Fast routing in road networks with transit nodes. Science, 316(5824):566, 2007.
[7]
T. H. Cormen, C. Stein, R. L. Rivest, and C. E. Leiserson. Introduction to Algorithms. McGraw-Hill Higher Education, 2nd edition, 2001.
[8]
D. Delling, P. Sanders, D. Schultes, and D. Wagner. Engineering route planning algorithms. In Algorithmics of Large and Complex Networks, pages 117--139, 2009.
[9]
E. W. Dijkstra. A note on two problems in connection with graphs. Numerical Mathematics, 1:269--271, 1959.
[10]
J. Fakcharoenphol and S. Rao. Planar graphs, negative weight edges, shortest paths, and near linear time. J. Comput. Syst. Sci., 72(5):868--889, 2006.
[11]
R. Geisberger, P. Sanders, D. Schultes, and D. Delling. Contraction hierarchies: Faster and simpler hierarchical routing in road networks. In WEA, pages 319--333, 2008.
[12]
A. V. Goldberg and C. Harrelson. Computing the shortest path: A* search meets graph theory. In SODA, pages 156--165, 2005.
[13]
A. V. Goldberg, H. Kaplan, and R. F. Werneck. Reach for A*: Efficient point-to-point shortest path algorithms. In ALENEX, pages 129--143, 2006.
[14]
S. Gupta, S. Kopparty, and C. V. Ravishankar. Roads, codes and spatiotemporal queries. In PODS, pages 115--124, 2004.
[15]
M. Hilger, E. Köhler, R. H. Möhring, and H. Schilling. Fast point-to-point shortest path computations with arc-flags. In Proc. of the 9th DIMACS Implementation Challenge, pages 73--92, 2006.
[16]
N. Jing, Y.-W. Huang, and E. A. Rundensteiner. Hierarchical encoded path views for path query processing: An optimal model and its performance evaluation. TKDE, 10(3):409--432, 1998.
[17]
S. Jung and S. Pramanik. An efficient path computation model for hierarchically structured topographical road maps. TKDE, 14(5):1029--1046, 2002.
[18]
P. N. Klein, S. Mozes, and O. Weimann. Shortest paths in directed planar graphs with negative lengths: A linear-space O(nlog2n)-time algorithm. ACM Transactions on Algorithms, 6(2), 2010.
[19]
S. Mozes and C. Sommer. Exact distance oracles for planar graphs. In SODA, pages 209--222, 2012.
[20]
M. Rice and V. J. Tsotras. Graph indexing of road networks for shortest pth queries with label restrictions. PVLDB, 4:69--80, 2010.
[21]
H. Samet, J. Sankaranarayanan, and H. Alborzi. Scalable network distance browsing in spatial databases. In SIGMOD, pages 43--54, 2008.
[22]
J. Sankaranarayanan and H. Samet. Query processing using distance oracles for spatial networks. IEEE Trans. Knowl. Data Eng., 22(8):1158--1175, 2010.
[23]
J. Sankaranarayanan, H. Samet, and H. Alborzi. Path oracles for spatial networks. PVLDB, 2:1210--1221, 2009.
[24]
Y. Tao, C. Sheng, and J. Pei. On k-skip shortest paths. In SIGMOD, pages 421--432, 2011.
[25]
L. Wu, X. Xiao, D. Deng, G. Cong, A. D. Zhu, and S. Zhou. Shortest path and distance queries on road networks: An experimental evaluation. PVLDB, 5(5):406--417, 2012.
[26]
A. D. Zhu, H. Ma, X. Xiao, S. Luo, Y. Tang, and S. Zhou. Shortest path and distance queries on road networks: Towards bridging theory and practice. CoRR, abs/1304.2576, 2013. http://arxiv.org/abs/1304.2576.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMOD '13: Proceedings of the 2013 ACM SIGMOD International Conference on Management of Data
June 2013
1322 pages
ISBN:9781450320375
DOI:10.1145/2463676
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 22 June 2013

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. algorithms
  2. road network
  3. shortest path

Qualifiers

  • Research-article

Conference

SIGMOD/PODS'13
Sponsor:

Acceptance Rates

SIGMOD '13 Paper Acceptance Rate 76 of 372 submissions, 20%;
Overall Acceptance Rate 785 of 4,003 submissions, 20%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)53
  • Downloads (Last 6 weeks)7
Reflects downloads up to 15 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Distributed Single-Source Shortest Path with Only Local RelaxationElectronics10.3390/electronics1313250213:13(2502)Online publication date: 26-Jun-2024
  • (2024)Distributed Shortest Distance Labeling on Large-Scale GraphsProceedings of the VLDB Endowment10.14778/3675034.367505317:10(2641-2653)Online publication date: 1-Jun-2024
  • (2024)LION: Fast and High-Resolution Network Kernel Density VisualizationProceedings of the VLDB Endowment10.14778/3648160.364816817:6(1255-1268)Online publication date: 3-May-2024
  • (2024)Querying Shortest Path on Large Time-Dependent Road Networks with Shortcuts2024 IEEE 40th International Conference on Data Engineering (ICDE)10.1109/ICDE60146.2024.00345(4532-4544)Online publication date: 13-May-2024
  • (2024)Optimizing Station Selection and Routing Efficiency Using the Pickup and Delivery Problem Method with A-Star and Genetic AlgorithmInnovations in Smart Cities Applications Volume 710.1007/978-3-031-53824-7_18(188-198)Online publication date: 20-Feb-2024
  • (2023)Hierarchical Cut Labelling - Scaling Up Distance Queries on Road NetworksProceedings of the ACM on Management of Data10.1145/36267311:4(1-25)Online publication date: 12-Dec-2023
  • (2023)Towards Efficient Shortest Path Counting on Billion-Scale Graphs2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00198(2579-2592)Online publication date: Apr-2023
  • (2023)Reinforcement Learning based Tree Decomposition for Distance Querying in Road Networks2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00132(1678-1690)Online publication date: Apr-2023
  • (2023)Experimental Evaluation of Indexing Techniques for Shortest Distance Queries on Road Networks2023 IEEE 39th International Conference on Data Engineering (ICDE)10.1109/ICDE55515.2023.00054(624-636)Online publication date: Apr-2023
  • (2023)Fully Dynamic Contraction Hierarchies with Label Restrictions on Road NetworksData Science and Engineering10.1007/s41019-023-00227-68:3(263-278)Online publication date: 4-Sep-2023
  • Show More Cited By

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media