A faster algorithm for the single source shortest path problem with few distinct positive lengths

被引:40
|
作者
Orlin, James B. [1 ]
Madduri, Kamesh [2 ]
Subramani, K. [3 ]
Williamson, M. [3 ]
机构
[1] MIT, Sloan Sch Management, Cambridge, MA 02139 USA
[2] Computat Res Div, Lawrence Berkeley Lab, Berkeley, CA 94720 USA
[3] West Virginia Univ, LDCSEE, Morgantown, WV 26506 USA
基金
美国国家科学基金会;
关键词
Shortest path problem; Dijkstra's algorithm; Linear time; Red-blue graphs;
D O I
10.1016/j.jda.2009.03.001
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
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(mlog nK/m) 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.(C) 2009 Published by Elsevier B.V.
引用
收藏
页码:189 / 198
页数:10
相关论文
共 50 条
  • [21] A single-source shortest path algorithm for dynamic graphs
    Alshammari, Muteb
    Rezgui, Abdelmounaam
    AKCE INTERNATIONAL JOURNAL OF GRAPHS AND COMBINATORICS, 2020, 17 (03) : 1063 - 1068
  • [22] A SINGLE SOURCE SHORTEST-PATH ALGORITHM FOR GRAPHS WITH SEPARATORS
    MEHLHORN, K
    SCHMIDT, BH
    LECTURE NOTES IN COMPUTER SCIENCE, 1983, 158 : 302 - 309
  • [23] A Faster Cache-Oblivious Shortest-Path Algorithm for Undirected Graphs with Bounded Edge Lengths
    Allulli, Luca
    Lichodzijewski, Peter
    Zeh, Norbert
    PROCEEDINGS OF THE EIGHTEENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 2007, : 910 - 919
  • [25] A shortest path problem on a network with fuzzy arc lengths
    Okada, S
    Soper, T
    FUZZY SETS AND SYSTEMS, 2000, 109 (01) : 129 - 140
  • [26] The shortest path problem with discrete fuzzy arc lengths
    Kung, JY
    Chuang, TN
    COMPUTERS & MATHEMATICS WITH APPLICATIONS, 2005, 49 (2-3) : 263 - 270
  • [27] ALGORITHM 562 - SHORTEST-PATH LENGTHS [H]
    PAPE, U
    ACM TRANSACTIONS ON MATHEMATICAL SOFTWARE, 1980, 6 (03): : 450 - 455
  • [28] A New Memetic Algorithm with GA Crossover Technique to solve Single Source Shortest Path (SSSP) problem
    Roy, Pritam
    2014 Annual IEEE India Conference (INDICON), 2014,
  • [29] Fully dynamic output bounded single source shortest path problem
    Frigioni, D
    MarchettiSpaccamela, A
    Nanni, U
    PROCEEDINGS OF THE SEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, 1996, : 212 - 221
  • [30] The Restricted Minimum Single Source Shortest Path Tree Expansion Problem
    Wang, Haiyan
    Deng, Weiqi
    Huang, Binchao
    Li, Jianping
    2017 16TH IEEE/ACIS INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE (ICIS 2017), 2017, : 63 - 68