The upper bound on the exponent, ω, of matrix multiplication over a ring that was three in 1968 has decreased several times and since 1986 it has been 2.376. On the other hand, the exponent of the algorithms known for the all pairs shortest path problem has stayed at three all these years even for the very special case of directed graphs with uniform edge lengths. In this paper we give an algorithm of time O n ν log 3 n , ν = (3 + ω)/2, for the case of edge lengths in {−1, 0, 1}. Thus, for the current known bound on ω, we get a bound on the exponent, ν < 2.688. In case of integer edge lengths with absolute value bounded above by M , the time bound is O (M n) ν log 3 n and the exponent is less than 3 for M = O(n α ), for α < 0.116 and the current bound on ω.
Alon, Galil and Margalit REF presented an algorithm for APSP in directed graphs with weights in {−1, 0, 1} of runtimeÕ(n ω+3 2 ).
On the Exponent of the All Pairs Shortest Path Problem
J. Comput. Syst. Sci.
J. Comput. Syst. Sci.
Mathematics Computer Science