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 条
  • [1] Prograph Based Analysis of Single Source Shortest Path Problems with Few Distinct Positive Lengths
    Bhowmik, Biswajit
    Chowdhury, Sreyasi Nag
    ENGINEERING TECHNOLOGY & APPLIED SCIENCE RESEARCH, 2011, 1 (04) : 90 - 97
  • [2] A heuristic genetic algorithm for the single source shortest path problem
    Hasan, Basela S.
    Khamees, Mohammad A.
    Mahmoud, Ashraf S. Hasan
    2007 IEEE/ACS INTERNATIONAL CONFERENCE ON COMPUTER SYSTEMS AND APPLICATIONS, VOLS 1 AND 2, 2007, : 187 - +
  • [3] A LOCAL ALGORITHM FOR THE SHORTEST-PATH PROBLEM WITH A SINGLE SOURCE
    ANISIMOV, AV
    CYBERNETICS, 1986, 22 (03): : 327 - 332
  • [4] A New Algorithm to Shortest Path Problem with Fuzzy Arc Lengths
    Khorsandi, Armita
    Liu, Xiao-Chu
    Cao, Bing-Yuan
    FUZZY INFORMATION AND ENGINEERING AND DECISION, 2018, 646 : 244 - 249
  • [5] A novel single source shortest path algorithm
    Rani, R. Uma
    JOURNAL OF DISCRETE MATHEMATICAL SCIENCES & CRYPTOGRAPHY, 2009, 12 (06): : 671 - 680
  • [6] An Efficient Algorithm for the Single-Source Shortest Path Problem in Graph Theory
    Li, Tianrui
    Qi, Luole
    Ruan, Da
    2008 3RD INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEM AND KNOWLEDGE ENGINEERING, VOLS 1 AND 2, 2008, : 152 - +
  • [7] A Faster Distributed Single-Source Shortest Paths Algorithm
    Forster, Sebastian
    Nanongkai, Danupon
    2018 IEEE 59TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2018, : 686 - 697
  • [8] Shortest path problem with cache dependent path lengths
    Fu, Z
    Kurnia, A
    Lim, A
    Rodrigues, B
    CEC: 2003 CONGRESS ON EVOLUTIONARY COMPUTATION, VOLS 1-4, PROCEEDINGS, 2003, : 2756 - 2761
  • [9] A hybrid single-source shortest path algorithm
    Arslan, Hilal
    Manguoglu, Murat
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2019, 27 (04) : 2636 - 2647
  • [10] DSMR: A Shared and Distributed Memory Algorithm for Single-Source Shortest Path Problem
    Maleki, Saeed
    Nguyen, Donald
    Lenharth, Andrew
    Garzaran, Maria
    Padua, David
    Pingali, Keshav
    ACM SIGPLAN NOTICES, 2016, 51 (08) : 381 - 382