Skip to main content

Experimental Evaluation of a New Shortest Path Algorithm

Extended Abstract

  • Conference paper
  • First Online:
Algorithm Engineering and Experiments (ALENEX 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2409))

Included in the following conference series:

Abstract

We evaluate the practical efficiency of a new shortest path algorithm for undirected graphs which was developed by the first two authors. This algorithm works on the fundamental comparison-addition model.

Theoretically, this new algorithm out-performs Dijkstra’s algorithm on sparse graphs for the all-pairs shortest path problem, and more generally, for the problem of computing single-source shortest paths from ω(1) different sources. Our extensive experimental analysis demonstrates that this is also the case in practice. We present results which show the new algorithm to run faster than Dijkstra’s on a variety of sparse graphs when the number of vertices ranges from a few thousand to a few million, and when computing single-source shortest paths from as few as three different sources.

This work was supported by Texas Advanced Research Program Grant 003658-0029-1999 and NSF Grant CCR-9988160. Seth Pettie was also supported by an MCD Graduate Fellowship.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. A. V. Aho, J. E. Hopcroft, J. D. Ullman. The Design and Analysis of Computer Algorithms. Addison-Wesley, 1974.

    Google Scholar 

  2. B. Bollobás. Random Graphs. Academic Press, London, 1985.

    MATH  Google Scholar 

  3. B. V. Cherkassky, A. V. Goldberg, T. Radzik. Shortest paths algorithms: Theory and experimental evaluation. In Math. Prog. 73 (1996), 129–174.

    MathSciNet  Google Scholar 

  4. T. Cormen, C. Leiserson, R. Rivest. Intro. to Algorithms. MIT Press, 1990.

    Google Scholar 

  5. E. W. Dijkstra. A note on two problems in connexion with graphs. In Numer. Math., 1 (1959), 269–271.

    Article  MATH  MathSciNet  Google Scholar 

  6. P. Erdös, A. Rényi On the evolution of random graphs. Bull. Inst. Internat. Statist. 38, pp. 343–347, 1961.

    MATH  MathSciNet  Google Scholar 

  7. M. Fredman. New bounds on the complexity of the shortest path problem. SIAM J. Comput. 5 (1976), no. 1, 83–89.

    Article  MATH  MathSciNet  Google Scholar 

  8. M. L. Fredman, R. Sedgewick, D. D. Sleator, R. E. Tarjan. The pairing heap: A new form of self-adjusting heap. In Algorithmica 1 (1986) pp. 111–129.

    Article  MATH  MathSciNet  Google Scholar 

  9. M. L. Fredman, R. E. Tarjan. Fibonacci heaps and their uses in improved network optimization algorithms. In JACM 34 (1987), 596–615.

    Article  MathSciNet  Google Scholar 

  10. H. N. Gabow. A scaling algorithm for weighted matching on general graphs. In Proc. FOCS 1985, 90–99.

    Google Scholar 

  11. A. Goldberg. A simple shortest path algorithm with linear average time. InterTrust Technical Report STAR-TR-01-03, March 2001.

    Google Scholar 

  12. A. Goldberg. Shortest path algorithms: engineering aspects. ISSAC 2001.

    Google Scholar 

  13. A. Goldberg, C. Silverstein. Implementations of Dijkstra’s algorithm based on multi-level buckets. Network optimization (1997), Lec. Not. Econ. Math. Syst. 450, 292–327.

    Google Scholar 

  14. T. Hagerup. Improved shortest paths on the word RAM. In Proc. ICALP 2000, LNCS volume 1853, 61–72.

    Google Scholar 

  15. J. Iacono. Improved upper bounds for pairing heaps. Algorithm theory—SWAT 2000 (Bergen), LNCS vol. 1851, 32–45

    Chapter  Google Scholar 

  16. H. Jakobsson, Mixed-approach algorithms for transitive closure. In Proc. ACM PODS, 1991, pp. 199–205.

    Google Scholar 

  17. V. Jarník, O jistém problému minimálním. Práca Moravské Prírodovedecké Spolecnosti 6 (1930), 57–63, in Czech.

    Google Scholar 

  18. D. R. Karger, D. Koller, S. J. Phillips. Finding the hidden path: time bounds for all-pairs shortest paths. SIAM J. on Comput. 22 (1993), no. 6, 1199–1217.

    Article  MATH  MathSciNet  Google Scholar 

  19. S. Kolliopoulos, C. Stein. Finding real-valued single-source shortest paths in o(n 3) expected time. J. Algorithms 28 (1998), no. 1, 125–141.

    Article  MATH  MathSciNet  Google Scholar 

  20. C. C. McGeoch. A new all-pairs shortest-path algorithm. Tech. Report 91-30 DIMACS, 1991. Also appears in Algorithmica, 13(5): 426–461, 1995.

    Google Scholar 

  21. K. Mehlhorn, S. Näher. The LEDA Platform of Combinatorial and Geometric Computing. Cambridge Univ. Press, 1999.

    Google Scholar 

  22. U. Meyer. Single source shortest paths on arbitrary directed graphs in linear average-case time. In Proc. SODA 2001, 797–806.

    Google Scholar 

  23. A. Moffat, T. Takaoka. An all pairs shortest path algorithm with expected time O(n 2log n). SIAM J. Comput. 16 (1987), no. 6, 1023–1031.

    Article  MATH  MathSciNet  Google Scholar 

  24. B. M. E. Moret, H. D. Shapiro. An empirical assessment of algorithms for constructing a minimum spanning tree. In DIMACS Series on Discrete Math. and Theor. CS, 1994.

    Google Scholar 

  25. S. Pettie, V. Ramachandran. An optimal minimum spanning tree algorithm. In Proc. ICALP 2000, LNCS volume 1853, 49–60. JACM, to appear.

    Google Scholar 

  26. S. Pettie, V. Ramachandran. Computing shortest paths with comparisons and additions. In Proc. SODA’ 02, January 2002, to appear.

    Google Scholar 

  27. P. Sanders. Fast priority queues for cached memory. J. Experimental Algorithms 5, article 7, 2000.

    Google Scholar 

  28. T. Takaoka. A new upper bound on the complexity of the all pairs shortest path problem. Inform. Process. Lett. 43 (1992), no. 4, 195–199.

    Article  MATH  MathSciNet  Google Scholar 

  29. M. Thorup. Undirected single source shortest paths with positive integer weights in linear time. J. Assoc. Comput. Mach. 46 (1999), no. 3, 362–394.

    MATH  MathSciNet  Google Scholar 

  30. M. Thorup. Quick k-median, k-center, and facility location for sparse graphs. In Proc. ICALP 2001, LNCS Vol. 2076, 249–260.

    Google Scholar 

  31. U. Zwick. Exact and approximate distances in graphs — a survey. In Proc. 9th ESA (2001), 33–48. Updated copy at http://www.cs.tau.ac.il/~zwick

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Pettie, S., Ramachandran, V., Sridhar, S. (2002). Experimental Evaluation of a New Shortest Path Algorithm. In: Mount, D.M., Stein, C. (eds) Algorithm Engineering and Experiments. ALENEX 2002. Lecture Notes in Computer Science, vol 2409. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45643-0_10

Download citation

  • DOI: https://doi.org/10.1007/3-540-45643-0_10

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43977-6

  • Online ISBN: 978-3-540-45643-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics