ALCOMFT-TR-01-25

ALCOM-FT
 

C. Demetrescu and G.F. Italiano
Fully Dynamic Transitive Closure: Breaking Through the O(n2) Barrier
Rome. Work package 2. March 2001.
Abstract: In this paper we introduce a general framework for casting fully dynamic transitive closure into the problem of reevaluating polynomials over matrices. With this technique, we improve the best known bounds for fully dynamic transitive closure. In particular, we devise a deterministic algorithm for general directed graphs that achieves O(n2) amortized time for updates, while preserving unit worst-case cost for queries. In case of deletions only, our algorithm performs updates faster in O(n) amortized time.

Our matrix-based approach yields an algorithm for directed acyclic graphs which breaks through the O(n2) barrier on the single-operation complexity of fully dynamic transitive closure. We can answer queries in O(n^epsilon) time and perform updates in O(nomega(1,epsilon,1)-epsilon+n1+epsilon) time, for any epsilon\in[0,1], where omega(1,epsilon,1) is the exponent of the multiplication of an nx nepsilon matrix by an nepsilonx n matrix. The current best bounds on omega(1,epsilon,1) imply an O(n0.575) query time and an O(n1.575) update time. Our subquadratic algorithm is randomized, and has one-side error.

Postscript file: ALCOMFT-TR-01-25.ps.gz (71 kb).

System maintainer Gerth Stølting Brodal <gerth@cs.au.dk>