Results 1 
1 of
1
Computing Shortest Paths with Comparisons and Additions
 SODA
, 2002
"... We present an undirected allpairs shortest paths (APSP) algorithm which runs on a pointer machine in time O(mnot(m, n)) while making O(ran log a(m, n)) comparisons and additions, where m and n are the number of edges and vertices, respectively, and a(ra, n) is Tarjan's inverseAckermann funct ..."
Abstract

Cited by 23 (9 self)
 Add to MetaCart
We present an undirected allpairs shortest paths (APSP) algorithm which runs on a pointer machine in time O(mnot(m, n)) while making O(ran log a(m, n)) comparisons and additions, where m and n are the number of edges and vertices, respectively, and a(ra, n) is Tarjan's inverseAckermann function. This improves upon all previous comparison & additionbased APSP algorithms when the graph is sparse, i.e., when m = o(n log n). At the heart of our APSP algorithm is a new singlesource shortest paths algorithm which runs in time O(ma(m,n) + nloglogr) on a pointer machine, where r is the ratio of the maximumtominimum edge length. So long as r < 2 '~°(a) this algorithm is faster than any implementation of Dijkstra's classical algorithm in the comparisonaddition model. For directed graphs we give an O(ra + nlogr)time comparison & additionbased SSSP algorithm on a pointer machine. Similar algorithms assuming integer weights or the RAM model were given earlier.