Mantaining Dynamic Matrices for Fully Dynamic Transitive Closure

  • Authors:
  • Camil Demetrescu;Giuseppe F. Italiano

  • Affiliations:
  • Università di Roma “La Sapienza”, Dipartimento di Informatica e Sistemistica, Rome, Italy;Università di Roma “Tor Vergata”, Dipartimento di Informatica, Sistemi e Produzione, Rome, Italy

  • Venue:
  • Algorithmica
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

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(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. We observe that fully dynamic transitive closure algorithms with O(1) query time maintain explicitly the transitive closure of the input graph, in order to answer each query with exactly one lookup (on its adjacency matrix). Since an update may change as many as Ω(n 2) entries of this matrix, no better bounds are possible for this class of algorithms.