Contracting and Compressing Shortest Path Databases

Compressed Path Databases (CPD) are powerful database driven methods for shortest path extraction in grids and in spatial networks. Yet CPDs have two main drawbacks: (1) constructing the database requires an offline all-pairs precompute, which can sometimes be prohibitive and; (2) extracting a path requires a number of database lookups equal to its number of edges, which can be costly in terms of time. In this work, we consider how CPD methods can be improved and enhanced by: (i) contracting the input graph before preprocessing and; (ii) limiting the preprocessing step to only a selected subset of graph nodes. We also describe a new bi-directional path extraction algorithm which we call CHCPD. In a range of experiments on road networks, we show that CH-CPD substantially improves on conventional CPDs in terms of preprocessing costs and online performance. We also report convincing query time improvements against a range of methods from the recent literature.

[1]  Nathan R. Sturtevant,et al.  The Grid-Based Path Planning Competition: 2014 Entries and Results , 2015, SOCS.

[2]  Peter Sanders,et al.  Hierarchy Decomposition for Faster User Equilibria on Road Networks , 2011, SEA.

[3]  Andrew V. Goldberg,et al.  Computing the shortest path: A search meets graph theory , 2005, SODA '05.

[4]  Nathan R. Sturtevant,et al.  Memory-Based Heuristics for Explicit State Spaces , 2009, IJCAI.

[5]  Peter Sanders,et al.  Exact Routing in Large Road Networks Using Contraction Hierarchies , 2012, Transp. Sci..

[6]  Roni Stern,et al.  Multi-Agent Pathfinding: Definitions, Variants, and Benchmarks , 2019, SOCS.

[7]  Peter J. Stuckey,et al.  Euclidean Pathfinding with Compressed Path Databases , 2020, IJCAI.

[8]  Ben Strasser,et al.  Compressing Optimal Paths with Run Length Encoding , 2015, J. Artif. Intell. Res..

[9]  Ben Strasser,et al.  Customizable Contraction Hierarchies , 2014, SEA.

[10]  Shuigeng Zhou,et al.  Shortest Path and Distance Queries on Road Networks: An Experimental Evaluation , 2012, Proc. VLDB Endow..

[11]  Emilio Frazzoli,et al.  On-demand high-capacity ride-sharing via dynamic trip-vehicle assignment , 2017, Proceedings of the National Academy of Sciences.

[12]  Takuya Akiba,et al.  Fast Shortest-path Distance Queries on Road Networks by Pruned Highway Labeling , 2014, ALENEX.

[13]  Man Lung Yiu,et al.  An Experimental Study on Hub Labeling based Shortest Path Algorithms , 2017, Proc. VLDB Endow..

[14]  Adi Botea Ultra-Fast Optimal Pathfinding without Runtime Search , 2011, AIIDE.

[15]  Andrew V. Goldberg,et al.  Customizable Route Planning in Road Networks , 2017, Transp. Sci..

[16]  Peter J. Stuckey,et al.  Forward Search in Contraction Hierarchies , 2018, SOCS.

[17]  Ben Strasser,et al.  Fast First-Move Queries through Run-Length Encoding , 2014, SOCS.

[18]  Peter Sanders,et al.  Contraction Hierarchies: Faster and Simpler Hierarchical Routing in Road Networks , 2008, WEA.

[19]  Robert C. Holte,et al.  Hierarchical A*: Searching Abstraction Hierarchies Efficiently , 1996, AAAI/IAAI, Vol. 1.