arXiv Analytics

Sign in

arXiv:1105.3770 [math.CO]AbstractReferencesReviewsResources

All-Pairs Shortest Paths in $O(n^2)$ time with high probability

Yuval Peres, Dimitry Sotnikov, Benny Sudakov, Uri Zwick

Published 2011-05-19Version 1

We present an all-pairs shortest path algorithm whose running time on a complete directed graph on $n$ vertices whose edge weights are chosen independently and uniformly at random from $[0,1]$ is $O(n^2)$, in expectation and with high probability. This resolves a long standing open problem. The algorithm is a variant of the dynamic all-pairs shortest paths algorithm of Demetrescu and Italiano. The analysis relies on a proof that the number of \emph{locally shortest paths} in such randomly weighted graphs is $O(n^2)$, in expectation and with high probability. We also present a dynamic version of the algorithm that recomputes all shortest paths after a random edge update in $O(\log^{2}n)$ expected time.

Related articles: Most relevant | Search more
arXiv:1906.01092 [math.CO] (Published 2019-06-03)
Ramsey, Paper, Scissors
arXiv:1605.03086 [math.CO] (Published 2016-05-10)
Shotgun Assembly of Random Jigsaw Puzzles
arXiv:1312.7170 [math.CO] (Published 2013-12-27)
The acquaintance time of (percolated) random geometric graphs