Maintaining transitive closure in first order after node-set and edge-set deletions

https://doi.org/10.1016/S0020-0190(97)00066-5Get rights and content

Abstract

We consider the problem of maintaining, using first-order formulas but without auxiliary relations, the transitive closure of directed graphs after the deletion of sets of edges and nodes; earlier results focused on edge-set insertions and single edge deletions. We give a generic result which asserts maintainability after deleting any “antichain” of edges. Many maintainability results follow, including after deleting any edge from acyclic graphs, after deleting any subset of all incoming (outgoing) edges to (from) any antichain family of strongly connected components (SCC), and after deleting any antichain of nodes. We then show maintainability after deleting all edges (or nodes) in any antichain family of SCCs. Finally, we show that maintainability after node deletions is at least as hard as after edge deletions.

References (20)

  • G. Dong et al.

    Incremental and decremental evaluation of transitive closure by first-order queries

    Inform. and Comput.

    (1995)
  • S. Abiteboul et al.

    Foundations of Databases

    (1995)
  • K.R. Apt et al.

    Maintenance of stratified databases viewed as a belief revision system

  • A.V. Aho et al.

    Foundations of Computer Science

    (1992)
  • J.A. Blakeley et al.

    Efficiently updating materialized views

  • G. Dong et al.

    On impossibility of decremental recomputation of recursive queries in relational calculus and SQL

  • G. Dong et al.

    First-order incremental evaluation of datalog queries

  • G. Dong et al.

    Increment boundedness and nonrecursive incremental evaluation of datalog queries

  • G. Dong et al.

    Space bounded FOIES

  • Full paper to appear in: J. Comput. System...
There are more references available in the full text version of this article.

Cited by (15)

  • Maintenance of datalog materialisations revisited

    2019, Artificial Intelligence
    Citation Excerpt :

    A FOIES for a query specifies how to (i) materialise the query result and zero or more additional auxiliary relations given a set of base relations, and (ii) update all materialised relations by evaluating first-order queries over the changes in the base relations. Dong and Su [38] present FOIESs for the transitive closure of acyclic graphs, directed graphs where deleted edges do not belong to the same strongly connected component, and 0–1 graphs; Dong and Pang [39] generalised these results w.r.t. deletion; Dong and Ramamohanarao [40] considered constrained transitive closure; and Pang et al. [41] considered all-pairs shortest paths in undirected graphs. Dong and Su studied the relationship of FOIES with increment boundedness and structural recursion in datalog [42], their space requirements [43], and how nondeterminism increases their power [44].

  • Dominating sets in directed graphs

    2010, Information Sciences
  • Dynamic complexity under definable changes

    2018, ACM Transactions on Database Systems
  • Reachability and distances under multiple changes

    2018, Leibniz International Proceedings in Informatics, LIPIcs
View all citing articles on Scopus

This author gratefully acknowledges support of the Australian Research Council through research grants.

1

Work by this author was supported by an OPRS and an MUPS scholarship.

View full text