DocumentCode :
3217990
Title :
Improved dynamic reachability algorithms for directed graphs
Author :
Roditty, Liam ; Zwick, Uri
Author_Institution :
Sch. of Comput. Sci., Tel Aviv Univ., Israel
fYear :
2002
fDate :
2002
Firstpage :
679
Lastpage :
688
Abstract :
We obtain several new dynamic algorithms for maintaining the transitive closure of a directed graph, and several other algorithms for answering reachability queries without explicitly maintaining a transitive closure matrix. Among our algorithms are: (i) a decremental algorithm for maintaining the transitive closure of a directed graph, through an arbitrary sequence of edge deletions, in O(mn) total expected time, essentially the time needed for computing the transitive closure of the initial graph. Such a result was previously known only for acyclic graphs; (ii) two fully dynamic algorithms for answering reachability queries. The first is deterministic and has an amortized insert/delete time of O(m√n), and worst-case query time of O(√n). The second is randomized and has an amortized insert/delete time of O(m0.58n) and worst-case query time of O(m0.43). This significantly improves the query times of algorithms with similar update times; and (iii) a fully dynamic algorithm for maintaining the transitive closure of an acyclic graph. The algorithm is deterministic and has a worst-case insert time of O(m), constant amortized delete time of O(1), and a worst-case query time of O(n/ log n). Our algorithms are obtained by combining several new ideas, one of which is a simple sampling idea used for detecting decompositions of strongly connected components, with techniques of Even and Shiloach (1981), Italiano (1988), Henzinger and King (1995), and Frigioni et al. (2001). We also adapt results of Cohen (1997) on estimating the size of the transitive closure to the dynamic setting.
Keywords :
computational complexity; deterministic algorithms; directed graphs; randomised algorithms; reachability analysis; amortized insert/delete time; decremental algorithm; deterministic algorithm; directed graphs; dynamic reachability algorithms; edge deletions; expected time; randomized algorithm; reachability query answering; strongly connected component decomposition detection; transitive closure; worst-case query time; Computer science; Costs; Heuristic algorithms; Monte Carlo methods; Sampling methods;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Foundations of Computer Science, 2002. Proceedings. The 43rd Annual IEEE Symposium on
ISSN :
0272-5428
Print_ISBN :
0-7695-1822-2
Type :
conf
DOI :
10.1109/SFCS.2002.1181993
Filename :
1181993
Link To Document :
بازگشت