Abstract :
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(n 2) 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ε) time and perform updates in O(nω(1,ε,1)-ε+n1+ε) time, for any ε∈[0,1], where ω(1,ε,1) is the exponent of the multiplication of an n×nε matrix by an n ε×n matrix. The current best bounds on ω(1,ε,1) imply an O(n0.575) query time and an O(n 1.575) update time. Our subquadratic algorithm is randomized, and has one-side error
Keywords :
computational complexity; deterministic algorithms; directed graphs; matrix multiplication; polynomials; randomised algorithms; amortized time; deterministic algorithm; directed acyclic graphs; directed graphs; fully dynamic transitive closure; matrix multiplication; polynomials; queries; randomized algorithm; single-operation complexity; subquadratic algorithm; unit worst-case cost; Contracts; Costs; Councils; Data engineering; Heuristic algorithms; Polynomials; Remuneration; Uniform resource locators;