Advertisement

Δ-Stepping : A Parallel Single Source Shortest Path Algorithm

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1461)

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.

Keywords

Short Path Random Graph Short Path Problem Giant Component Heavy Edge 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    P. Adamson and E. Tick. Greedy partitioned algorithms for the shortest path problem. International Journal of Parallel Programming, 20(4):271–298, 1991.CrossRefMathSciNetGoogle Scholar
  2. 2.
    R. K. Ahuja, T. L. Magnanti, and J. B. Orlin. Network Flows: Theory, Algorithms and Applications. Prentice Hall, 1993.Google Scholar
  3. 3.
    N. Alon, J. H. Spencer, and P. Erdős. The Probabilistic Method. Wiley, 1992.Google Scholar
  4. 4.
    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.Google Scholar
  5. 5.
    K. M. Chandy and J. Misra. Distributed computation on graphs: Shortest path algorithms. Communications of the ACM, 25(11):833–837, 1982.zbMATHCrossRefMathSciNetGoogle Scholar
  6. 6.
    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.CrossRefGoogle Scholar
  7. 7.
    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.Google Scholar
  8. 8.
    E. Cohen. Efficient parallel shortest-paths in digraphs with a separator decomposition. Journal of Algorithms, 21(2):331–357, 1996.zbMATHCrossRefMathSciNetGoogle Scholar
  9. 9.
    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.Google Scholar
  10. 10.
    A. Crauser, K. Mehlhorn, U. Meyer, and P. Sanders. Parallelizing Dijkstra’s shortest path algorithm. Technical report, MPI-Informatik, 1998. in preparation.Google Scholar
  11. 11.
    E. Dijkstra. A note on two problems in connexion with graphs. Num. Math., 1:269–271, 1959.zbMATHCrossRefMathSciNetGoogle Scholar
  12. 12.
    E. A. Dinic. Economical algorithms for finding shortest paths in a network. In Transportation Modeling Systems, pages 36–44, 1978.Google Scholar
  13. 13.
    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.CrossRefMathSciNetGoogle Scholar
  14. 14.
    A. Frieze and G. Grimmett. The shortest-path problem for graphs with random arc-lengths. Discrete Appl. Math., 10:57–77, 1985.zbMATHCrossRefMathSciNetGoogle Scholar
  15. 15.
    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.Google Scholar
  16. 16.
    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.Google Scholar
  17. 17.
    R. Hassin and E. Zemel. On shortest paths in graphs with random weights. Math. Oper. Res., 10(4):557–564, 1985.zbMATHMathSciNetCrossRefGoogle Scholar
  18. 18.
    J. Jájá. An Introduction to Parallel Algorithms. Addison-Wesley, 1992.Google Scholar
  19. 19.
    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.Google Scholar
  20. 20.
    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.Google Scholar
  21. 21.
    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.Google Scholar
  22. 22.
    R. C. Paige and C. P. Kruskal. Parallel algorithms for shortest path problems. In International Conference on Parallel Processing, pages 14–20. IEEE, 1985.Google Scholar
  23. 23.
    P. Raghavan. Probabilistic construction of deterministic algorithms: Approximating packing integer programs. Journal of Computer and System Sciences, 37:130–143, 1988.zbMATHCrossRefMathSciNetGoogle Scholar
  24. 24.
    M. Snir, S. W. Otto, S. Huss-Lederman, D. W. Walker, and J. Dongarra. MPI — the Complete Reference. MIT Press, 1996.Google Scholar
  25. 25.
    M. Thorup. Undirected single source shortest paths in linear time. In 38th Annual Symposium on Foundations of Computer Science, pages 12–21. IEEE, 1997.Google Scholar
  26. 26.
    J. L. Träff. An experimental comparison of two distributed single-source shortest path algorithms. Parallel Computing, 21:1505–1532, 1995.CrossRefMathSciNetGoogle Scholar
  27. 27.
    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.Google Scholar
  28. 28.
    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.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1998

Authors and Affiliations

  1. 1.Max-Planck-Institut für InformatikSaarbrückenGermany

Personalised recommendations