Lune

SIGMOD2023Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • NRP: An Efficient Index for Stochastic Routing in Road Networks cites Efficient Constrained Shortest Path Query Answering with Forest Hop Labeling
  • NRP: An Efficient Index for Stochastic Routing in Road Networks cites PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road Networks
  • PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road Networks cites Dynamic Hub Labeling for Road Networks
  • PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road Networks cites Scaling Up Distance Labeling on Graphs with Core-Periphery Properties
  • Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road Networks cites Dynamic Hub Labeling for Road Networks
  • Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road Networks cites Efficient 2-Hop Labeling Maintenance in Dynamic Small-World Networks
  • Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road Networks cites Scaling Up Distance Labeling on Graphs with Core-Periphery Properties
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongVLDB 2024 · 7 citations
  2. NRP: An Efficient Index for Stochastic Routing in Road NetworksLibin Wang, Raymond Chi-Wing WongICDE 2025
  3. Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongSIGMOD 2025

Builds on7

  1. Dynamic Hub Labeling for Road NetworksMengxuan Zhang, Lei Li, Wen Hua, Rui Mao et al.ICDE 2021 · 52 citations
  2. Efficient 2-Hop Labeling Maintenance in Dynamic Small-World NetworksMengxuan Zhang, Lei Li, Wen Hua, Xiaofang ZhouICDE 2021 · 49 citations
  3. Keyword Search over Knowledge Graphs via Static and Dynamic Hub LabelingsYuxuan Shi, Gong Cheng, Evgeny KharlamovWWW 2020 · 39 citations
  4. Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 · 38 citations
  5. 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

  1. Approximate Skyline Index for Constrained Shortest Pathfinding with Theoretical GuaranteeZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2024 · 8 citations
  2. EHL*: Memory-Budgeted Indexing for Ultrafast Optimal Euclidean PathfindingJinchun Du, Bojie Shen, Muhammad Aamir CheemaAAAI 2026
  3. 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
  4. High Throughput Shortest Distance Query Processing on Large Dynamic Road NetworksXinjie Zhou, Mengxuan Zhang, Lei Li, Xiaofang ZhouICDE 2025 · 1 citation
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines