Abstract
In spite of intensive research, little progress has been made towards fast and work-efficient parallel algorithms for the single source shortest path problem. Our Δ-stepping algorithm, a generalization of Dial’s algorithm and the Bellman-Ford algorithm, improves this situation at least in the following “average-case” sense: For random directed graphs with edge probability d/n and uniformly distributed edge weights a PRAM version works in expected time \( \mathcal{O} \)(log3 n/log log n) using linear work. The algorithm also allows for efficient adaptation to distributed memory machines. Implementations show that our approach works on real machines. As a side effect, we get a simple linear time sequential algorithm for a large class of not necessarily random directed graphs with random edge weights.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
P. Adamson and E. Tick. Greedy partitioned algorithms for the shortest path problem. International Journal of Parallel Programming, 20(4):271–298, 1991.
R. K. Ahuja, T. L. Magnanti, and J. B. Orlin. Network Flows: Theory, Algorithms and Applications. Prentice Hall, 1993.
N. Alon, J. H. Spencer, and P. Erdős. The Probabilistic Method. Wiley, 1992.
G. S. Brodal, J. L. Träff, and C. D. Zaroliagis. A parallel priority queue with constant time operation. In Proceedings of the 11th International Parallel Processing Symposium, pages 689–693. IEEE, 1997.
K. M. Chandy and J. Misra. Distributed computation on graphs: Shortest path algorithms. Communications of the ACM, 25(11):833–837, 1982.
A. Clementi, J. Rolim, and E. Urland. Randomized parallel algorithms. In A. Ferreira and P. Pardalos, editors, Solving Combinatorial Optimization Problem in Parallel, volume 1054 of LNCS, pages 25–50. Springer, 1996.
E. Cohen. Polylog-time and near-linear work approximation scheme for undirected shortest paths. In Proceedings of the Twenty-Sixth Annual ACM Symposium on Theory of Computing, pages 16–26, 1994.
E. Cohen. Efficient parallel shortest-paths in digraphs with a separator decomposition. Journal of Algorithms, 21(2):331–357, 1996.
A. Crauser, K. Mehlhorn, U. Meyer, and P. Sanders. A parallelization of Dijkstra’s shortest path algorithm. In 23rd Symposium on Mathematical Foundations of Computer Science, LNCS, Brno, Czech Republic, 1998. Springer.
A. Crauser, K. Mehlhorn, U. Meyer, and P. Sanders. Parallelizing Dijkstra’s shortest path algorithm. Technical report, MPI-Informatik, 1998. in preparation.
E. Dijkstra. A note on two problems in connexion with graphs. Num. Math., 1:269–271, 1959.
E. A. Dinic. Economical algorithms for finding shortest paths in a network. In Transportation Modeling Systems, pages 36–44, 1978.
J. R. Driscoll, H. N. Gabow, R. Shrairman, and R. E. Tarjan. Relaxed heaps: An alternative to Fibonacci heaps with applications to parallel computation. Communications of the ACM, 31(11):1343–1354, 1988.
A. Frieze and G. Grimmett. The shortest-path problem for graphs with random arc-lengths. Discrete Appl. Math., 10:57–77, 1985.
T. Hagerup. The log-star revolution. In A. Finkel and M. Jantzen, editors, Proceedings of Symposion on Theoretical Aspects of Computer Science (STACS’ 92), volume 577 of LNCS, pages 259–280. Springer, Feb. 1992.
Y. Han, V. Pan, and J. Reif. Efficient parallel algorithms for computing all pairs shortest paths in directed graphs. In Proceedings of the 4th Annual Symposium on Parallel Algorithms and Architectures, pages 353–362. ACM Press, 1992.
R. Hassin and E. Zemel. On shortest paths in graphs with random weights. Math. Oper. Res., 10(4):557–564, 1985.
J. Jájá. An Introduction to Parallel Algorithms. Addison-Wesley, 1992.
P. N. Klein and S. Sairam. A parallel randomized approximation scheme for shortest paths. In Proc. 24th Ann. ACM Symp. on Theory of Computing, pages 750–758, Victoria, B.C., Canada, 1992.
W. F. McColl. Universal computing. In L. Bouge, P. Fraigniaud, A. Mignotte, and Y. Robert, editors, Proc. Euro-Par’ 96 Parallel Processing, volume 1123 of LNCS, pages 25–36. Springer, 1996.
G. L. Miller and J. H. Reif. Parallel tree contraction and its application. In 26th Symposium on Foundations of Computer Science, pages 478–489. IEEE, 1985.
R. C. Paige and C. P. Kruskal. Parallel algorithms for shortest path problems. In International Conference on Parallel Processing, pages 14–20. IEEE, 1985.
P. Raghavan. Probabilistic construction of deterministic algorithms: Approximating packing integer programs. Journal of Computer and System Sciences, 37:130–143, 1988.
M. Snir, S. W. Otto, S. Huss-Lederman, D. W. Walker, and J. Dongarra. MPI — the Complete Reference. MIT Press, 1996.
M. Thorup. Undirected single source shortest paths in linear time. In 38th Annual Symposium on Foundations of Computer Science, pages 12–21. IEEE, 1997.
J. L. Träff. An experimental comparison of two distributed single-source shortest path algorithms. Parallel Computing, 21:1505–1532, 1995.
J. L. Träff and C. D. Zaroliagis. A simple parallel algorithm for the single-source shortest path problem on planar digraphs. In Irregular’ 96, volume 1117 of LNCS, pages 183–194. Springer, 1996.
L. G. Valiant. General purpose parallel architectures. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, volume A: Algorithms and Complexity, pages 943–971. Elsevier, 1990.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 1998 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Meyer, U., Sanders, P. (1998). Δ-Stepping : A Parallel Single Source Shortest Path Algorithm. In: Bilardi, G., Italiano, G.F., Pietracaprina, A., Pucci, G. (eds) Algorithms — ESA’ 98. ESA 1998. Lecture Notes in Computer Science, vol 1461. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-68530-8_33
Download citation
DOI: https://doi.org/10.1007/3-540-68530-8_33
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-64848-2
Online ISBN: 978-3-540-68530-2
eBook Packages: Springer Book Archive