On the DAG Decomposition

Yangjun Chen *

The University of Winnipeg, Canada.

Yibin Chen

The University of Winnipeg, Canada.

*Author to whom correspondence should be addressed.


Abstract

In this paper, we propose an efficient algorithm to decompose a directed acyclic graph G into a minimized set of node-disjoint chains, which cover all the nodes of G. For any two nodes u and v on a chain, if u is above v then there is a path from u to v in G. The best algorithm for this problem up to now needs O(n3) time, where n is the number of the nodes of G. Our algorithm, however, needs only O(k.n2) time, where k isG’s width, defined to be the size of a largest node subset U of G such that for every pair of nodes xyU, there does not exist a path from x to y or from y to x. More importantly, by the existing algorithm, O(n2) extra space (besides the space for G itself) is required to maintain the transitive closure of G to do the task while ours needs only O(k.n) extra space.

Keywords: Reachability queries, directed graphs, transitive closure, graph decomposition


How to Cite

Chen, Yangjun, and Yibin Chen. 2015. “On the DAG Decomposition”. Journal of Advances in Mathematics and Computer Science 10 (6):1-27. https://doi.org/10.9734/BJMCS/2015/19380.

Downloads

Download data is not yet available.