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 条
  • [31] A SINGLE SOURCE SHORTEST-PATH ALGORITHM FOR A PLANAR DISTRIBUTED NETWORK
    FREDERICKSON, GN
    LECTURE NOTES IN COMPUTER SCIENCE, 1985, 182 : 143 - 150
  • [32] Fast approximate algorithm for the single source shortest path with Lazy update
    Takahashi, Tomohiro
    Takashima, Yasuhiro
    2018 NEW GENERATION OF CAS (NGCAS), 2018, : 94 - 97
  • [33] Experimental Study of Dynamic Single-Source Shortest Path Algorithm
    Xiao Qiancai
    Li Mingqi
    Guo Wenqiang
    INFORMATION TECHNOLOGY FOR MANUFACTURING SYSTEMS II, PTS 1-3, 2011, 58-60 : 1493 - +
  • [34] An Energy-Efficient Single-Source Shortest Path Algorithm
    Karamati, Sara
    Young, Jeffrey
    Vuduc, Richard
    2018 32ND IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS), 2018, : 1080 - 1089
  • [35] Genetic Algorithm for Solving Fuzzy Shortest Path Problem in a Network with mixed fuzzy arc lengths
    Mahdavi, Iraj
    Tajdin, Ali
    Hassanzadeh, Reza
    Mandavi-Amiri, Nezam
    Shafieian, Hosna
    PROCEEDINGS OF THE FOURTH GLOBAL CONFERENCE ON POWER CONTROL AND OPTIMIZATION, 2011, 1337 : 265 - +
  • [36] New models for shortest path problem with fuzzy arc lengths
    Ji, Xiaoyu
    Iwamura, Kakuzo
    Shao, Zhen
    APPLIED MATHEMATICAL MODELLING, 2007, 31 (02) : 259 - 269
  • [37] The minmax regret shortest path problem with interval arc lengths
    Kang, Jun-Gyu
    International Journal of Control and Automation, 2013, 6 (05): : 171 - 180
  • [38] A SHORTEST PATH ALGORITHM FOR A NETWORK WITH VARIOUS FUZZY ARC LENGTHS
    Tajdin, Ali
    Mahdavi, Iraj
    Mahdavi-Amiri, Nezam
    Sadeghpour-Gildeh, Bahram
    Hadighi, Rofideh
    POWER CONTROL AND OPTIMIZATION, 2010, 1239 : 260 - 267
  • [39] A Faster Algorithm to Calculate Centrality Based on Shortest Path Layer
    Li Baoqiang
    Si Guangya
    Ding Jianfei
    Wang Fei
    2017 29TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2017, : 6283 - 6290
  • [40] An FPGA Implementation for Solving the Large Single-Source-Shortest-Path Problem
    Lei, Guoqing
    Dou, Yong
    Li, Rongchun
    Xia, Fei
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2016, 63 (05) : 473 - 477