Incremental and Decremental Evaluation of Transitive Closure by First-Order Queries
We study the following problem. Suppose G is a graph and TC G its transitive closure. If G′ is a new graph obtained from G by inserting or deleting an edge e, can the new transitive closure TC G′ , be defined in first-order logic using G, TC G and e? In this paper, we show that the answer is positiv...
Gespeichert in:
Veröffentlicht in: | Information and computation 1995-07, Vol.120 (1), p.101-106 |
---|---|
Hauptverfasser: | , |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | We study the following problem. Suppose
G is a graph and
TC
G
its transitive closure. If
G′ is a new graph obtained from
G by inserting or deleting an edge
e, can the new transitive closure
TC
G′
, be defined in first-order logic using
G,
TC
G
and
e? In this paper, we show that the answer is positive for (1) acyclic graphs (main result), (2) graphs where the vertices of the deleted edge are not in the same strongly connected component, and (3) graphs where there exists at most one path between each pair of vertices (0-1-path graphs). It is left open whether the new transitive closure is definable in first-order logic for
all graphs. We also consider the first-order on-line computation of the dominator relation. |
---|---|
ISSN: | 0890-5401 1090-2651 |
DOI: | 10.1006/inco.1995.1102 |