QHL: A Fast Algorithm for Exact Constrained Shortest Path Search on Road Networks
Libin Wang, Raymond Chi-Wing Wong
Abstract
Route planning is fundamental in our daily life. However, existing mapping applications focus on recommending routes by optimizing one single objective, which is inconsistent with some scenarios where users prefer the optimal route under a constraint. The constrained shortest path (CSP) query matches this requirement, but the query efficiencies of previous solutions are often low due to CSP's NP-hardness. In the era of big data, state-of-the-art indexes are getting larger to support faster query processing. Recent attempts to preprocess more intermediate results and reduce the number of table lookups have proved successful in solving the CSP. However, the best-known algorithm ignores some information in the CSP queries and tries to solve a more general problem before tackling the exact CSP. In this paper, we propose by far the fastest algorithm called QHL, which fully utilizes the pruning power of the CSP query information. Specifically, we preprocess our index by generating pruning conditions that can improve query efficiency. We also conducted extensive experiments on real-world datasets to demonstrate the superiority of our proposed algorithm. QHL could answer each CSP query in around 50 μs and run faster than the best-known algorithm by orders of magnitude.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext ad2f029d-e15c-40a4-91b9-c15237eef730Cited by top-tier papers3
- PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongVLDB 2024 · 7 citations
- NRP: An Efficient Index for Stochastic Routing in Road NetworksLibin Wang, Raymond Chi-Wing WongICDE 2025
- Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongSIGMOD 2025
Builds on7
- Dynamic Hub Labeling for Road NetworksMengxuan Zhang, Lei Li, Wen Hua, Rui Mao et al.ICDE 2021 · 52 citations
- Efficient 2-Hop Labeling Maintenance in Dynamic Small-World NetworksMengxuan Zhang, Lei Li, Wen Hua, Xiaofang ZhouICDE 2021 · 49 citations
- Keyword Search over Knowledge Graphs via Static and Dynamic Hub LabelingsYuxuan Shi, Gong Cheng, Evgeny KharlamovWWW 2020 · 39 citations
- Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 · 38 citations
- Efficient Constrained Shortest Path Query Answering with Forest Hop LabelingZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2021 · 37 citations
Related papers
- Approximate Skyline Index for Constrained Shortest Pathfinding with Theoretical GuaranteeZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2024 · 8 citations
- EHL*: Memory-Budgeted Indexing for Ultrafast Optimal Euclidean PathfindingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2026
- FHL-Cube: Multi-Constraint Shortest Path Querying with Flexible Combination of ConstraintsZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.VLDB 2022 · 20 citations
- High Throughput Shortest Distance Query Processing on Large Dynamic Road NetworksXinjie Zhou, Mengxuan Zhang, Lei Li, Xiaofang ZhouICDE 2025 · 1 citation
- Efficient Label-Constrained Shortest Path Queries on Road Networks: A Tree Decomposition ApproachJunhua Zhang, Long Yuan, Wentao Li, Lu Qin et al.VLDB 2022 · 29 citations
