4.2 Article

Incremental Cycle Detection, Topological Ordering, and Strong Component Maintenance

期刊

ACM TRANSACTIONS ON ALGORITHMS
卷 8, 期 1, 页码 -

出版社

ASSOC COMPUTING MACHINERY
DOI: 10.1145/2071379.2071382

关键词

Dynamic algorithms; directed graphs; topological order; cycle detection; strong components; halving intersection; arrangement

资金

  1. NSF [CCF-0830676, CCF-0832797]

向作者/读者索取更多资源

We present two online algorithms for maintaining a topological order of a directed n-vertex acyclic graph as arcs are added, and detecting a cycle when one is created. Our first algorithm handles m arc additions in O(m(3/2)) time. For sparse graphs (m/n = O(1)), this bound improves the best previous bound by a logarithmic factor, and is tight to within a constant factor among algorithms satisfying a natural locality property. Our second algorithm handles an arbitrary sequence of arc additions in O(n(5/2)) time. For sufficiently dense graphs, this bound improves the best previous bound by a polynomial factor. Our bound may be far from tight: we show that the algorithm can take Omega(n(2)2 root(2lgn)) time by relating its performance to a generalization of the k-levels problem of combinatorial geometry. A completely different algorithm running in Theta (n(2) log n) time was given recently by Bender, Fineman, and Gilbert. We extend both of our algorithms to the maintenance of strong components, without affecting the asymptotic time bounds.

作者

我是这篇论文的作者
点击您的名字以认领此论文并将其添加到您的个人资料中。

评论

主要评分

4.2
评分不足

次要评分

新颖性
-
重要性
-
科学严谨性
-
评价这篇论文

推荐

暂无数据
暂无数据