A Fully Dynamic Algorithm for Maintaining the Transitive Closure
作者:
Highlights:
•
摘要
This paper presents an efficient fully dynamic graph algorithm for maintaining the transitive closure of a directed graph. The algorithm updates the adjacency matrix of the transitive closure with each update to the graph; hence, each reachability query of the form “Is there a directed path from i to j?” can be answered in O(1) time. The algorithm is randomized and has a one-sided error; it is correct when answering yes, but has O(1/nc) probability of error when answering no, for any constant c. In acyclic graphs, worst case update time is O(n2). In general graphs, the update time is O(n2.26). The space complexity of the algorithm is O(n2).
论文关键词:
论文评审过程:Received 10 December 1999, Revised 26 July 2002, Available online 7 November 2002.
论文官网地址:https://doi.org/10.1006/jcss.2002.1883