PReaCH: A Fast Lightweight Reachability Index using Pruning and Contraction Hierarchies

Florian Merz,Peter Sanders
DOI: https://doi.org/10.48550/arXiv.1404.4465
2014-04-17
Data Structures and Algorithms
Abstract:We develop the data structure PReaCH (for Pruned Reachability Contraction Hierarchies) which supports reachability queries in a directed graph, i.e., it supports queries that ask whether two nodes in the graph are connected by a directed path. PReaCH adapts the contraction hierarchy speedup techniques for shortest path queries to the reachability setting. The resulting approach is surprisingly simple and guarantees linear space and near linear preprocessing time. Orthogonally to that, we improve existing pruning techniques for the search by gathering more information from a single DFS-traversal of the graph. PReaCH-indices significantly outperform previous data structures with comparable preprocessing cost. Methods with faster queries need significantly more preprocessing time in particular for the most difficult instances.
What problem does this paper attempt to address?