JOURNAL ARTICLE

QHL: A Fast Algorithm for Exact Constrained Shortest Path Search on Road Networks

Libin WangRaymond Chi-Wing Wong

Year: 2023 Journal:   Proceedings of the ACM on Management of Data Vol: 1 (2)Pages: 1-25   Publisher: Association for Computing Machinery

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.

Keywords:
Pruning Computer science Constraint (computer-aided design) Query optimization Shortest path problem Algorithm Path (computing) Focus (optics) Table (database) Reduction (mathematics) Theoretical computer science Data mining Mathematics

Metrics

8
Cited By
2.15
FWCI (Field Weighted Citation Impact)
25
Refs
0.85
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Data Management and Algorithms
Physical Sciences →  Computer Science →  Signal Processing
Advanced Database Systems and Queries
Physical Sciences →  Computer Science →  Computer Networks and Communications
Web Data Mining and Analysis
Physical Sciences →  Computer Science →  Information Systems

Related Documents

JOURNAL ARTICLE

A Fast Exact Algorithm for the Resource Constrained Shortest Path Problem

Saman AhmadiGuido TackDaniel HaraborPhilip Kilby

Journal:   Proceedings of the AAAI Conference on Artificial Intelligence Year: 2021 Vol: 35 (14)Pages: 12217-12224
JOURNAL ARTICLE

Fast bandwidth-constrained shortest path routing algorithm

B. ZhangHussein T. Mouftah

Journal:   IEE Proceedings - Communications Year: 2006 Vol: 153 (5)Pages: 671-671
JOURNAL ARTICLE

Efficient label-constrained shortest path queries on road networks

Junhua ZhangLong YuanWentao LiLu QinYing Zhang

Journal:   Proceedings of the VLDB Endowment Year: 2021 Vol: 15 (3)Pages: 686-698
© 2026 ScienceGate Book Chapters — All rights reserved.