- Published 2016 in ArXiv

Several modern applications involve huge graphs and require fast answers to reachability queries. In more than two decades since first proposals, several approaches have been presented adopting on-line searches, hop labelling or transitive closure compression. Transitive closure compression techniques usually construct a graph reachability index, for example by decomposing the graph into disjoint chains. As memory consumption is proportional to the number of chains, the target of those algorithms is to decompose the graph into an optimal number c of chains. However, commonly used techniques fail to meet general expectations, are exceedingly complex, and their application on large graphs is impractical. The main contribution of this paper is a novel approach to construct such reachability indexes. The proposed method decomposes the graph into a sub-optimal number ĉ of chains by following a greedy strategy. We show that, given a vertex topological order, such a decomposition is obtained in O(ĉm) time, and requires O(ĉn) space, with ĉ bounded by [c log( c )]. We provide experimental evidence suggesting that, on different categories of automatically generated benchmarks as well as on graphs arising from the field of logic synthesis and formal verification, the proposed method produces a number of chains very close to the optimum, while significantly reducing computation time.

@article{Boria2016AGA,
title={A Greedy Approach to Answer Reachability Queries on DAGs},
author={Nicolas Boria and Gianpiero Cabodi and Paolo Camurati and Marco Palena and Paolo Pasini and Stefano Quer},
journal={CoRR},
year={2016},
volume={abs/1611.02506}
}