All-pairs shortest paths in O(n2) time with high probability
Journal of the ACM (JACM)
Hi-index | 0.00 |
We study the fully-dynamic all pairs shortest path problem forgraphs with arbitrary non-negative edge weights. It is known fordigraphs that an update of the distance matrix costs$\ensuremath{{\cal \tilde O}}(n^{2.75})$ worst-case time [Thorup,STOC ’05] and $\ensuremath{{\cal \tilde O}}(n^2)$ amortizedtime [Demetrescu and Italiano, J.ACM ’04] where n is thenumber of vertices. We present the first average-case analysis ofthe undirected problem. For a random update we show that theexpected time per update is bounded by O(n4/3 + ε ) for all ε 0.