A Faster Algorithm for the Single Source Shortest Path Problem with Few Distinct Positive Lengths
Author(s)
Orlin, James B.; Madduri, Kamesh; Subramani, K.; Williamson, M.
Downloadhttps://public.me.com/orlin2 (154.8Kb)
OPEN_ACCESS_POLICY
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
In this paper, we propose an efficient method for implementing Dijkstra's algorithm for the Single Source Shortest Path Problem (SSSPP) in a graph whose edges have positive length, and where there are few distinct edge lengths. The SSSPP is one of the most widely studied problems in theoretical computer science and operations research. On a graph with n vertices, m edges and K distinct edge lengths, our algorithm runs in O(m) time if nK=<2m, and O(mlognKm) time, otherwise. We tested our algorithm against some of the fastest algorithms for SSSPP on graphs with arbitrary but positive lengths. Our experiments on graphs with few edge lengths confirmed our theoretical results, as the proposed algorithm consistently dominated the other SSSPP algorithms, which did not exploit the special structure of having few distinct edge lengths.
Date issued
2010-06Department
Sloan School of ManagementJournal
Journal of Discrete Algorithms
Publisher
Elsevier
Citation
James B. Orlin, Kamesh Madduri, K. Subramani, and M. Williamson. 2010. A faster algorithm for the single source shortest path problem with few distinct positive lengths. J. of Discrete Algorithms 8, 2 (June 2010), 189-198. DOI=10.1016/j.jda.2009.03.001 http://dx.doi.org/10.1016/j.jda.2009.03.001
Version: Author's final manuscript
ISSN
1570-8667