Skip to main content

New Bounds for Old Algorithms: On the Average-Case Behavior of Classic Single-Source Shortest-Paths Approaches

  • Conference paper
Theory and Practice of Algorithms in (Computer) Systems (TAPAS 2011)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 6595))

Abstract

Despite disillusioning worst-case behavior, classic algorithms for single-source shortest-paths (SSSP) like Bellman-Ford are still being used in practice, especially due to their simple data structures. However, surprisingly little is known about the average-case complexity of these approaches. We provide new theoretical and experimental results for the performance of classic label-correcting SSSP algorithms on graph classes with non-negative random edge weights. In particular, we prove a tight lower bound of Ω(n 2) for the running times of Bellman-Ford on a class of sparse graphs with O(n) nodes and edges; the best previous bound was Ω(n 4/3 − ε). The same improvements are shown for Pallottino’s algorithm. We also lift a lower bound for the approximate bucket implementation of Dijkstra’s algorithm from Ω(n logn / loglogn) to Ω(n 1.2 − ε). Furthermore, we provide an experimental evaluation of our new graph classes in comparison with previously used test inputs.

Partially supported by the DFG grant ME 3250/1-2, and by MADALGO – Center for Massive Data Algorithmics, a Center of the Danish National Research Foundation.

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. Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network flows: Theory, Algorithms, and Applications. Prentice-Hall, Englewood Cliffs (1993)

    MATH  Google Scholar 

  2. Bellman, R.: On a routing problem. Quart. Appl. Math. 16, 87–90 (1958)

    Article  MathSciNet  MATH  Google Scholar 

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

    MathSciNet  MATH  Google Scholar 

  4. Dijkstra, E.W.: A note on two problems in connexion with graphs. Num. Math. 1, 269–271 (1959)

    Article  MathSciNet  MATH  Google Scholar 

  5. Dubhashi, D.P., Panconesi, A.: Concentration of measure for the analysis of randomized algorithms. Draft Manuscript (October 1998), http://www.brics.dk/~ale/papers.html

  6. Ford, L.R., Fulkerson, D.R.: Flows in Networks. Princeton Univ. Press, Princeton (1963)

    Book  MATH  Google Scholar 

  7. Goldberg, A.V.: A practical shortest path algorithm with linear expected time. SIAM J. Comput. 37(5), 1637–1655 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  8. Grinstead, C.M., Snell, L.J.: Grinstead and Snell’s Introduction to Probability. American Mathematical Society, Providence (2006) (version dated July 4, 2006 edn.)

    Google Scholar 

  9. Hagerup, T.: Simpler computation of single-source shortest paths in linear average time. Theory Comput. Syst. 39(1), 113–120 (2006)

    Article  MathSciNet  MATH  Google Scholar 

  10. Hagerup, T., Rüb, C.: A guided tour of Chernoff bounds. Information Processing Letters 33, 305–308 (1990)

    Article  MathSciNet  MATH  Google Scholar 

  11. Hedrick, C.L.: Routing Information Protocol, RFC 1058 (1988)

    Google Scholar 

  12. Hoeffding, W.: Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association 58, 13–30 (1964)

    Article  MathSciNet  MATH  Google Scholar 

  13. Meyer, U.: Average–case complexity of single–source shortest–paths algorithms: Lower and upper bounds. Journal of Algorithms 48(1), 94–131 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  14. Meyer, U., Sanders, P.: Δ-stepping: A parallelizable shortest path algorithm. Journal of Algorithms 49, 114–152 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  15. Pallottino, S.: Shortest-path methods: Complexity, interrelations and new propositions. Networks 14, 257–267 (1984)

    Article  MATH  Google Scholar 

  16. Pape, U.: Implementation and efficiency of Moore-algorithms for the shortest route problem. Math. Programming 7, 212–222 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  17. Zhan, F.B., Noon, C.E.: Shortest path algorithms: An evaluation using real road networks. Transportation Science 32, 65–73 (1998)

    Article  MATH  Google Scholar 

  18. Zwick, U.: Exact and approximate distances in graphs - a survey. In: Meyer auf der Heide, F. (ed.) ESA 2001. LNCS, vol. 2161, pp. 33–48. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Meyer, U., Negoescu, A., Weichert, V. (2011). New Bounds for Old Algorithms: On the Average-Case Behavior of Classic Single-Source Shortest-Paths Approaches. In: Marchetti-Spaccamela, A., Segal, M. (eds) Theory and Practice of Algorithms in (Computer) Systems. TAPAS 2011. Lecture Notes in Computer Science, vol 6595. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-19754-3_22

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-19754-3_22

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-19753-6

  • Online ISBN: 978-3-642-19754-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics