A new approach to dynamic all pairs shortest paths 论文
2004Journal of the ACM引用 269
Algorithms and Data CompressionData Management and AlgorithmsComplexity and Algorithms in Graphs
摘要
We study novel combinatorial properties of graphs that allow us to devise a completely new approach to dynamic all pairs shortest paths problems. Our approach yields a fully dynamic algorithm for general directed graphs with non-negative real-valued edge weights that supports any sequence of operations in O ( n 2 log 3 n ) amortized time per update and unit worst-case time per distance query, where n is the number of vertices. We can also report shortest paths in optimal worst-case time. These bounds improve substantially over previous results and solve a long-standing open problem. Our algorithm is deterministic, uses simple data structures, and appears to be very fast in practice.