Fast Dynamic Transitive Closure with Lookahead

AbstractIn this paper we consider the problem of dynamic transitive closure with lookahead. We present a randomized one-sided error algorithm with updates and queries in O(nω(1,1,ε)−ε) time given a lookahead of nε operations, where ω(1,1,ε) is the exponent of multiplication of n×n matrix by n×nε matrix. For ε≤0.294 we obtain an algorithm with queries and updates in O(n2−ε) time, whereas for ε=1 the time is O(nω−1). This is essentially optimal as it implies an O(nω) algorithm for boolean matrix multiplication. We also consider the offline transitive closure in planar graphs. For this problem, we show an algorithm that requires $O(n^{\frac{\omega}{2}})$ time to process $n^{\frac{1}{2}}$ operations. We also show a modification of these algorithms that gives faster amortized queries. Finally, we give faster algorithms for restricted type of updates, so called element updates. All of the presented algorithms are randomized with one-sided error.All our algorithms are based on dynamic algorithms with lookahead for matrix inverse, which are of independent interest.

[1]  Valerie King,et al.  Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs , 1999, 40th Annual Symposium on Foundations of Computer Science (Cat. No.99CB37039).

[2]  Uri Zwick,et al.  Improved Dynamic Reachability Algorithms for Directed Graphs , 2008, SIAM J. Comput..

[3]  Piotr Sankowski,et al.  Dynamic transitive closure via dynamic matrix inverse: extended abstract , 2004, 45th Annual IEEE Symposium on Foundations of Computer Science.

[4]  Jacob T. Schwartz,et al.  Fast Probabilistic Algorithms for Verification of Polynomial Identities , 1980, J. ACM.

[5]  Uri Zwick,et al.  A fully dynamic reachability algorithm for directed graphs with an almost linear update time , 2004, STOC '04.

[6]  Richard Zippel,et al.  Probabilistic algorithms for sparse polynomials , 1979, EUROSAM.

[7]  Don Coppersmith,et al.  Matrix multiplication via arithmetic progressions , 1987, STOC.

[8]  Piotr Sankowski,et al.  Dynamic Transitive Closure via Dynamic Matrix Inverse , 2004 .

[9]  Don Coppersmith,et al.  Rectangular Matrix Multiplication Revisited , 1997, J. Complex..

[10]  Shimon Even,et al.  An On-Line Edge-Deletion Problem , 1981, JACM.

[11]  Rajeev Motwani,et al.  On certificates and lookahead in dynamic graph problems , 1996, SODA 1996.

[12]  Victor Y. Pan,et al.  Fast Rectangular Matrix Multiplication and Applications , 1998, J. Complex..

[13]  Liam Roditty,et al.  A faster and simpler fully dynamic transitive closure , 2003, SODA '03.

[14]  Giuseppe F. Italiano,et al.  Fully dynamic transitive closure: breaking through the O(n/sup 2/) barrier , 2000, Proceedings 41st Annual Symposium on Foundations of Computer Science.

[15]  Valerie King,et al.  A fully dynamic algorithm for maintaining the transitive closure , 1999, STOC '99.

[16]  Monika Henzinger,et al.  Fully dynamic biconnectivity and transitive closure , 1995, Proceedings of IEEE 36th Annual Foundations of Computer Science.

[17]  J. Hopcroft,et al.  Triangular Factorization and Inversion by Fast Matrix Multiplication , 1974 .

[18]  Sairam Subramanian A Fully Dynamic Data Structure for Reachability in Planar Digraphs , 1993, ESA.

[19]  Mihalis Yannakakis,et al.  Graph-theoretic methods in database theory , 1990, PODS.

[20]  D. Rose,et al.  Generalized nested dissection , 1977 .

[21]  Piotr Sankowski,et al.  Faster dynamic matchings and vertex connectivity , 2007, SODA '07.