{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,20]],"date-time":"2026-11-20T08:27:11Z","timestamp":1795163231673,"version":"4.10.3"},"reference-count":37,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2023,6,13]],"date-time":"2023-06-13T00:00:00Z","timestamp":1686614400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"name":"ITC","award":["PRP\/026\/21FX"],"award-info":[{"award-number":["PRP\/026\/21FX"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Manag. Data"],"published-print":{"date-parts":[[2023,6,13]]},"abstract":"<jats:p>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 \u03bcs and run faster than the best-known algorithm by orders of magnitude.<\/jats:p>","DOI":"10.1145\/3589300","type":"journal-article","created":{"date-parts":[[2023,6,20]],"date-time":"2023-06-20T16:26:45Z","timestamp":1687278405000},"page":"1-25","source":"Crossref","is-referenced-by-count":12,"title":["QHL: A Fast Algorithm for Exact Constrained Shortest Path Search on Road Networks"],"prefix":"10.1145","volume":"1","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-9514-0289","authenticated-orcid":false,"given":"Libin","family":"Wang","sequence":"first","affiliation":[{"name":"The Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7045-6503","authenticated-orcid":false,"given":"Raymond Chi-Wing","family":"Wong","sequence":"additional","affiliation":[{"name":"The Hong Kong University of Science and Technology, Hong Kong, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,20]]},"reference":[{"key":"e_1_2_2_1_1","unstructured":"2022. Google Maps. https:\/\/www.google.com\/maps."},{"key":"e_1_2_2_2_1","volume-title":"Bender and Martin Farach-Colton","author":"Michael","year":"2000","unstructured":"Michael A. Bender and Martin Farach-Colton. 2000. The LCA Problem Revisited. In LATIN, Gaston H. Gonnet, Daniel Panario, and Alfredo Viola (Eds.)."},{"key":"e_1_2_2_3_1","first-page":"1","article-title":"A Tourist Guide through Treewidth","volume":"11","author":"Bodlaender Hans L.","year":"1993","unstructured":"Hans L. Bodlaender. 1993. A Tourist Guide through Treewidth. Acta Cybern. 11, 1--2 (1993), 1--21.","journal-title":"Acta Cybern."},{"key":"e_1_2_2_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00778-012-0274-x"},{"key":"e_1_2_2_5_1","volume-title":"Minhao Jiang, Eric Lo, and Pengfei Zhang.","author":"Chen Zitong","year":"2021","unstructured":"Zitong Chen, Ada Wai-Chee Fu, Minhao Jiang, Eric Lo, and Pengfei Zhang. 2021. P2H: Efficient Distance Querying on Road Networks by Projected Vertex Separators. In SIGMOD."},{"key":"e_1_2_2_6_1","volume-title":"Xuemin Lin, Haixun Wang, and Philip S. Yu.","author":"Cheng Jiefeng","year":"2006","unstructured":"Jiefeng Cheng, Jeffrey Xu Yu, Xuemin Lin, Haixun Wang, and Philip S. Yu. 2006. Fast Computation of Reachability Labeling for Large Graphs. In EDBT."},{"key":"e_1_2_2_7_1","doi-asserted-by":"crossref","unstructured":"Edith Cohen Eran Halperin Haim Kaplan and Uri Zwick. 2002. Reachability and distance queries via 2-hop labels. In SODA.","DOI":"10.1137\/S0097539702403098"},{"key":"e_1_2_2_8_1","doi-asserted-by":"crossref","unstructured":"Daniel Delling and Dorothea Wagner. 2009. Pareto Paths with SHARC. In SEA.","DOI":"10.1007\/978-3-642-02011-7_13"},{"key":"e_1_2_2_9_1","unstructured":"Qixu Gong and Huiping Cao. 2022. Backbone Index to Support Skyline Path Queries over Multi-cost Road Networks. In EDBT."},{"key":"e_1_2_2_10_1","doi-asserted-by":"crossref","unstructured":"Qixu Gong Huiping Cao and Parth Nagarkar. 2019. Skyline Queries Constrained by Multi-cost Transportation Networks. In ICDE.","DOI":"10.1109\/ICDE.2019.00087"},{"key":"e_1_2_2_11_1","doi-asserted-by":"publisher","DOI":"10.1002\/net.3230100403"},{"key":"e_1_2_2_12_1","volume-title":"Multiple criteria decision making theory and application","author":"Hansen Pierre","unstructured":"Pierre Hansen. 1980. Bicriterion path problems. In Multiple criteria decision making theory and application. Springer, 109--127."},{"key":"e_1_2_2_13_1","doi-asserted-by":"publisher","DOI":"10.1287\/moor.17.1.36"},{"key":"e_1_2_2_14_1","unstructured":"Ruoming Jin Yang Xiang Ning Ruan and David Fuhry. 2009. 3-HOP: a high-compression indexing scheme for reachability query. In SIGMOD."},{"key":"e_1_2_2_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/0022-247X(66)90020-5"},{"key":"e_1_2_2_16_1","doi-asserted-by":"crossref","unstructured":"Hans-Peter Kriegel Matthias Renz and Matthias Schubert. 2010. Route skyline queries: A multi-preference path planning approach. In ICDE.","DOI":"10.1109\/ICDE.2010.5447845"},{"key":"e_1_2_2_17_1","doi-asserted-by":"crossref","unstructured":"Fernando A. Kuipers Ariel Orda Danny Raz and Piet Van Mieghem. 2006. A Comparison of Exact and epsilon-Approximation Algorithms for Constrained Routing. In NETWORKING.","DOI":"10.1007\/11753810_17"},{"key":"e_1_2_2_18_1","unstructured":"Wentao Li Miao Qiao Lu Qin Ying Zhang Lijun Chang and Xuemin Lin. 2019. Scaling Distance Labeling on Small-World Networks. In SIGMOD."},{"key":"e_1_2_2_19_1","unstructured":"Wentao Li Miao Qiao Lu Qin Ying Zhang Lijun Chang and Xuemin Lin. 2020. Scaling Up Distance Labeling on Graphs with Core-Periphery Properties. In SIGMOD."},{"key":"e_1_2_2_20_1","doi-asserted-by":"crossref","unstructured":"Ziyi Liu Lei Li Mengxuan Zhang Wen Hua Pingfu Chao and Xiaofang Zhou. 2021. Efficient Constrained Shortest Path Query Answering with Forest Hop Labeling. In ICDE.","DOI":"10.1109\/ICDE51399.2021.00155"},{"key":"e_1_2_2_21_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6377(01)00069-4"},{"key":"e_1_2_2_22_1","doi-asserted-by":"crossref","unstructured":"Kurt Mehlhorn and Mark Ziegelmann. 2000. Resource Constrained Shortest Paths. In ESA.","DOI":"10.1007\/3-540-45253-2_30"},{"key":"e_1_2_2_23_1","doi-asserted-by":"crossref","unstructured":"Dian Ouyang Lu Qin Lijun Chang Xuemin Lin Ying Zhang and Qing Zhu. 2018. When Hierarchy Meets 2-Hop- Labeling: Efficient Shortest Distance Queries on Road Networks. In SIGMOD.","DOI":"10.1145\/3183713.3196913"},{"key":"e_1_2_2_24_1","doi-asserted-by":"crossref","unstructured":"Dian Ouyang Long Yuan Fan Zhang Lu Qin and Xuemin Lin. 2018. Towards Efficient Path Skyline Computation in Bicriteria Networks. In DASFAA.","DOI":"10.1007\/978-3-319-91452-7_16"},{"key":"e_1_2_2_25_1","volume-title":"Efficient Shortest Path Counting on Large Road Networks. PVLDB","author":"Qiu Yu-Xuan","year":"2022","unstructured":"Yu-Xuan Qiu, Dong Wen, Lu Qin, Wentao Li, Ronghua Li, and Ying Zhang. 2022. Efficient Shortest Path Counting on Large Road Networks. PVLDB (2022)."},{"key":"e_1_2_2_26_1","doi-asserted-by":"publisher","DOI":"10.1016\/0095-8956(84)90013-3"},{"key":"e_1_2_2_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.amc.2015.05.109"},{"key":"e_1_2_2_28_1","doi-asserted-by":"crossref","unstructured":"Yuxuan Shi Gong Cheng and Evgeny Kharlamov. 2020. Keyword Search over Knowledge Graphs via Static and Dynamic Hub Labelings. In WWW.","DOI":"10.1145\/3366423.3380110"},{"key":"e_1_2_2_29_1","doi-asserted-by":"crossref","unstructured":"Sabine Storandt. 2012. Route Planning for Bicycles - Exact Constrained Shortest Paths Made Practical via Contraction Hierarchy. In ICAPS.","DOI":"10.1609\/icaps.v22i1.13495"},{"key":"e_1_2_2_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/s00224-007-9096-4"},{"key":"e_1_2_2_31_1","volume-title":"Effective Indexing for Approximate Constrained Shortest Path Queries on Large Road Networks. PVLDB","author":"Wang Sibo","year":"2016","unstructured":"Sibo Wang, Xiaokui Xiao, Yin Yang, and Wenqing Lin. 2016. Effective Indexing for Approximate Constrained Shortest Path Queries on Large Road Networks. PVLDB (2016)."},{"key":"e_1_2_2_32_1","doi-asserted-by":"publisher","DOI":"10.1287\/opre.35.1.70"},{"key":"e_1_2_2_33_1","volume-title":"Constrained Shortest Path Query in a Large Time-Dependent Graph. PVLDB","author":"Yuan Ye","year":"2019","unstructured":"Ye Yuan, Xiang Lian, Guoren Wang, Yuliang Ma, and Yishu Wang. 2019. Constrained Shortest Path Query in a Large Time-Dependent Graph. PVLDB (2019)."},{"key":"e_1_2_2_34_1","doi-asserted-by":"crossref","unstructured":"Mengxuan Zhang Lei Li Wen Hua Rui Mao Pingfu Chao and Xiaofang Zhou. 2021. Dynamic Hub Labeling for Road Networks. In ICDE.","DOI":"10.1109\/ICDE51399.2021.00036"},{"key":"e_1_2_2_35_1","doi-asserted-by":"crossref","unstructured":"Mengxuan Zhang Lei Li Wen Hua and Xiaofang Zhou. 2021. Efficient 2-Hop Labeling Maintenance in Dynamic Small-World Networks. In ICDE.","DOI":"10.1109\/ICDE51399.2021.00019"},{"key":"e_1_2_2_36_1","doi-asserted-by":"crossref","unstructured":"Yikai Zhang and Jeffrey Xu Yu. 2022. Relative Subboundedness of Contraction Hierarchy and Hierarchical 2-Hop Index in Dynamic Road Networks. In SIGMOD.","DOI":"10.1145\/3514221.3517875"},{"key":"e_1_2_2_37_1","unstructured":"Andy Diwen Zhu Wenqing Lin Sibo Wang and Xiaokui Xiao. 2014. Reachability queries on large dynamic graphs: a total order approach. In SIGMOD."}],"container-title":["Proceedings of the ACM on Management of Data"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3589300","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3589300","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T12:46:13Z","timestamp":1750164373000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3589300"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,13]]},"references-count":37,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2023,6,13]]}},"alternative-id":["10.1145\/3589300"],"URL":"https:\/\/doi.org\/10.1145\/3589300","relation":{},"ISSN":["2836-6573"],"issn-type":[{"value":"2836-6573","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,13]]}}}