We review how to solve the all-pairs shortest-path problem in a nonneg
atively weighted digraph with n vertices in expected time O(n(2) log n
). This bound is shown to hold with high probability for a wide class
of probability distributions on nonnegatively weighted digraphs. We al
so prove that, for a large class of probability distributions, Ohm(n l
og n) time is necessary with high probability to compute shortest-path
distances with respect to a single source. (C) 1997 John Wiley & Sons
, Inc.