Lune

VLDB2024Top-tier venue

PCSP: Efficiently Answering Label-Constrained Shortest Path Queries in Road Networks

Libin Wang, Raymond Chi-Wing Wong

Abstract

Shortest path queries are ubiquitous in many spatial applications. Existing solutions assign numerical weights to edges and compute the path with the minimum sum of edge weights. However, in practice, the road categories associated with edges (e.g., toll) can make shortest paths undesirable, e.g., they may use unfavorable toll roads. Augmenting each edge with a label to denote its category, we study the Label-Constrained Shortest Path (LCSP) query that finds the shortest path under the constraint that the edge labels along the path should follow a pattern expressed by a formal language. There have been extensive LCSP solutions, but they are either inefficient in query processing or limited to special languages with low expressiveness capacity. In this paper, we propose the index called Partially Constrained Shortest Path (PCSP), which answers each query quickly by concatenating two shortest paths that partially satisfy the constraint and support more general regular languages. We also present pruning techniques that further optimize query efficiency. Experimental comparison with the state-of-the-art index demonstrates the superiority of PCSP. It can answer each LCSP query in around 100 microseconds and runs faster than the best-known solution by up to two 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.

4 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

  • FHL-Cube: Multi-Constraint Shortest Path Querying with Flexible Combination of Constraints cites Dynamic Hub Labeling for Road Networks
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. X-Blossom: Massive Parallelization of Graph Maximum MatchingDayi Fan, Rubao Lee, Xiaodong ZhangVLDB 2025 · 3 citations
  2. Efficient Temporal Simple Path Graph GenerationZhiyang Tang, Yanping Wu, Xiangjun Zai, Chen Chen et al.ICDE 2025 · 1 citation
  3. NRP: An Efficient Index for Stochastic Routing in Road NetworksLibin Wang, Raymond Chi-Wing WongICDE 2025
  4. PRIME: Efficient Algorithm for Token Graph Routing ProblemHaotian Xu, Yuqing Zhu, Yuming Huang, Jing TangICDE 2026

Builds on7

  1. Dynamic Hub Labeling for Road NetworksMengxuan Zhang, Lei Li, Wen Hua, Rui Mao et al.ICDE 2021 · 52 citations
  2. Scaling Up Distance Labeling on Graphs with Core-Periphery PropertiesWentao Li, Miao Qiao, Lu Qin, Ying Zhang et al.SIGMOD 2020 · 38 citations
  3. Relative Subboundedness of Contraction Hierarchy and Hierarchical 2-Hop Index in Dynamic Road NetworksYikai Zhang, Jeffrey Xu YuSIGMOD 2022 · 24 citations
  4. 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
  5. Architecture-Intact Oracle for Fastest Path and Time Queries on Dynamic Spatial NetworksVictor Junqiu Wei, Raymond Chi-Wing Wong, Cheng LongSIGMOD 2020 · 18 citations

Related papers

  1. Efficient Indexing for Flexible Label-Constrained Shortest Path Queries in Road NetworksLibin Wang, Raymond Chi-Wing WongSIGMOD 2025
  2. 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
  3. Efficient Constrained Shortest Path Query Answering with Forest Hop LabelingZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2021 · 37 citations
  4. QHL: A Fast Algorithm for Exact Constrained Shortest Path Search on Road NetworksLibin Wang, Raymond Chi-Wing WongSIGMOD 2023 · 10 citations
  5. Approximate Skyline Index for Constrained Shortest Pathfinding with Theoretical GuaranteeZiyi Liu, Lei Li, Mengxuan Zhang, Wen Hua et al.ICDE 2024 · 8 citations
Dusk over the sea between two cliffs drawn in fine vertical lines