Title :
Fully dynamic algorithms for maintaining all-pairs shortest paths and transitive closure in digraphs
Author_Institution :
Dept. of Comput. Sci., Victoria Univ., BC, Canada
Abstract :
This paper presents the first fully dynamic algorithms for maintaining all-pairs shortest paths in digraphs with positive integer weights less than b. For approximate shortest paths with an error factor of (2+ε), for any positive constant ε, the amortized update time is O(n2 log2 n/log log n); for an error factor of (1+ε) the amortized update time is O(n2 log 3 (bn)/ε2). For exact shortest paths the amortized update time is O(n2.5 √(b log n)). Query time for exact and approximate shortest distances is O(1); exact time and approximate paths can be generated in time proportional to their lengths. Also presented is a fully dynamic transitive closure algorithm with update time O(n2 log n) and query time O(1). The previously known fully dynamic transitive closure algorithm with fast query time has one-sided error and update time O(n2.28). The algorithms use simple data structures, and are deterministic
Keywords :
computational complexity; data structures; deterministic algorithms; directed graphs; all-pairs shortest paths; data structures; deterministic algorithms; digraph transitive closure; dynamic algorithms; dynamic transitive closure algorithm; error factor; positive integer weights; query time; shortest distance; update time; Birth disorders; Computer science; Data structures; Electronic switching systems; Error correction; Heuristic algorithms; Upper bound;
Conference_Titel :
Foundations of Computer Science, 1999. 40th Annual Symposium on
Conference_Location :
New York City, NY
Print_ISBN :
0-7695-0409-4
DOI :
10.1109/SFFCS.1999.814580