DocumentCode
2530128
Title
All pairs shortest paths in weighted directed graphs-exact and almost exact algorithms
Author
Zwick, Uri
Author_Institution
Dept. of Comput. Sci., Tel Aviv Univ., Israel
fYear
1998
fDate
8-11 Nov 1998
Firstpage
310
Lastpage
319
Abstract
We present two new algorithms for solving the All Pairs Shortest Paths (APSP) problem for weighted directed graphs. Both algorithms use fast matrix multiplication algorithms. The first algorithm solves the APSP problem for weighted directed graphs in which the edge weights are integers of small absolute value in O˜(n2+μ) time, where μ satisfies the equation ω(1,μ,1)=1+2μ and ω(1,μ,1) is the exponent of the multiplication of an n×n μ matrix by an nμ×n matrix. The currently best available bounds on ω(1,μ,1), obtained by Coppersmith and Winograd, and by Huang and Pan, imply that μ<0.575. The running time of our algorithm is therefore O(n2.575). Our algorithm improves on the O˜(n(3+ω)/2) time algorithm, where ω=ω(1,1,1)<2.376 is the usual exponent of matrix multiplication, obtained by Alon, Galil and Margalit, whose running time is only known to be O(n2.688). The second algorithm solves the APSP problem almost exactly for directed graphs with arbitrary non-negative real weights. The algorithm runs in O˜((nω /ε)·log(W/ε)) time, where ε>0 is an error parameter and W is the largest edge weight in the graph, after the edge weights are scaled so that the smallest non-zero edge weight in the graph is 1. It returns estimates of all the distances in the graph with a stretch of at most 1+ε. Corresponding paths can also be found efficiently
Keywords
computational complexity; directed graphs; matrix multiplication; APSP problem; All Pairs Shortest Paths; matrix multiplication; weighted directed graphs; Computer science; Copper; Equations;
fLanguage
English
Publisher
ieee
Conference_Titel
Foundations of Computer Science, 1998. Proceedings. 39th Annual Symposium on
Conference_Location
Palo Alto, CA
ISSN
0272-5428
Print_ISBN
0-8186-9172-7
Type
conf
DOI
10.1109/SFCS.1998.743464
Filename
743464
Link To Document