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.
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
Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network flows: Theory, Algorithms, and Applications. Prentice-Hall, Englewood Cliffs (1993)
Bellman, R.: On a routing problem. Quart. Appl. Math. 16, 87–90 (1958)
Cherkassky, B.V., Goldberg, A.V., Radzik, T.: Shortest path algorithms: Theory and experimental evaluation. Math. Programming 73, 129–174 (1996)
Dijkstra, E.W.: A note on two problems in connexion with graphs. Num. Math. 1, 269–271 (1959)
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
Ford, L.R., Fulkerson, D.R.: Flows in Networks. Princeton Univ. Press, Princeton (1963)
Goldberg, A.V.: A practical shortest path algorithm with linear expected time. SIAM J. Comput. 37(5), 1637–1655 (2008)
Grinstead, C.M., Snell, L.J.: Grinstead and Snell’s Introduction to Probability. American Mathematical Society, Providence (2006) (version dated July 4, 2006 edn.)
Hagerup, T.: Simpler computation of single-source shortest paths in linear average time. Theory Comput. Syst. 39(1), 113–120 (2006)
Hagerup, T., Rüb, C.: A guided tour of Chernoff bounds. Information Processing Letters 33, 305–308 (1990)
Hedrick, C.L.: Routing Information Protocol, RFC 1058 (1988)
Hoeffding, W.: Probability inequalities for sums of bounded random variables. Journal of the American Statistical Association 58, 13–30 (1964)
Meyer, U.: Average–case complexity of single–source shortest–paths algorithms: Lower and upper bounds. Journal of Algorithms 48(1), 94–131 (2003)
Meyer, U., Sanders, P.: Δ-stepping: A parallelizable shortest path algorithm. Journal of Algorithms 49, 114–152 (2003)
Pallottino, S.: Shortest-path methods: Complexity, interrelations and new propositions. Networks 14, 257–267 (1984)
Pape, U.: Implementation and efficiency of Moore-algorithms for the shortest route problem. Math. Programming 7, 212–222 (1974)
Zhan, F.B., Noon, C.E.: Shortest path algorithms: An evaluation using real road networks. Transportation Science 32, 65–73 (1998)
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)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights 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)