Back to Search Start Over

A Faster Algorithm for the Single Source Shortest Path Problem with Few Distinct Positive Lengths

Authors :
Sloan School of Management
Orlin, James B.
Madduri, Kamesh
Subramani, K.
Williamson, M.
Sloan School of Management
Orlin, James B.
Madduri, Kamesh
Subramani, K.
Williamson, M.
Source :
Prof. Orlin via Alex Caracuzzo
Publication Year :
2011

Abstract

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.<br />United States. Dept. of Energy. Office of Science (contract DE-AC02-05CH11231)<br />United States. Air Force Office of Scientific Research (grant FA9550-06-1-0050)<br />National Science Foundation (U.S.) (award CCF-0827397)

Details

Database :
OAIster
Journal :
Prof. Orlin via Alex Caracuzzo
Notes :
application/pdf, en_US
Publication Type :
Electronic Resource
Accession number :
edsoai.on1141875838
Document Type :
Electronic Resource