Fast and Practical DAG Decomposition with Reachability Applications

12/07/2022
by   Giorgos Kritikakis, et al.
0

We present practical linear and almost linear-time algorithms to compute a chain decomposition of a directed acyclic graph (DAG), G=(V,E). The number of vertex-disjoint chains computed is very close to the minimum. The time complexity of our algorithm is O(|E|+c*l), where c is the number of path concatenations and l is the length of a longest path of the graph. We give a comprehensive explanation on factors c and l in the following sections. Our techniques have important applications in many areas, including the design of faster practical transitive closure algorithms. We observe that |E_red|≤ width*|V| (E_red: non-transitive edges) and show how to find a substantially large subset of E_tr (transitive edges) using a chain decomposition in linear time, without calculating the transitive closure. Our extensive experimental results show the interplay between the width, E_red, E_tr in various models of graphs. We show how to compute a reachability indexing scheme in O(k_c*|E_red|) time, where k_c is the number of chains and |E_red| is the number of non-transitive edges. This scheme can answer reachabilitiy queries in constant time. The space complexity of the scheme is O(k_c*|V|). The experimental results reveal that our methods are even better in practice than the theoretical bounds imply, indicating how fast chain decomposition algorithms can be applied to the transitive closure problem.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
01/31/2019

Reachability in High Treewidth Graphs

Reachability is the problem of deciding whether there is a path from one...
research
11/24/2022

Fast Möbius and Zeta Transforms

Möbius inversion of functions on partially ordered sets (posets) 𝒫 is a ...
research
05/03/2023

Minimum Chain Cover in Almost Linear Time

A minimum chain cover (MCC) of a k-width directed acyclic graph (DAG) G ...
research
07/26/2019

Adventures in Abstraction: Reachability in Hierarchical Drawings

We present algorithms and experiments for the visualization of directed ...
research
06/12/2018

Computing directed path-width and directed tree-width of recursively defined digraphs

In this paper we consider the directed path-width and directed tree-widt...
research
02/03/2020

Faster Fully Dynamic Transitive Closure in Practice

The fully dynamic transitive closure problem asks to maintain reachabili...
research
09/26/2019

Causal Belief Decomposition for Planning with Sensing: Completeness Results and Practical Approximation

Belief tracking is a basic problem in planning with sensing. While the p...

Please sign up or login with your details

Forgot password? Click here to reset