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 条
  • [41] An algorithmic framework for the single source shortest path problem with applications to disk graphs
    Klost, Katharina
    COMPUTATIONAL GEOMETRY-THEORY AND APPLICATIONS, 2023, 111
  • [42] An algorithm for single source shortest path in networks using depth first search
    Zhuang Ming
    Yang Xiao
    ADVANCED COMPUTER TECHNOLOGY, NEW EDUCATION, PROCEEDINGS, 2007, : 322 - 326
  • [43] Parallel Implementation of Single-Source Shortest Path Algorithm Based on Haloop
    Lou, Yuan-sheng
    Zhang, Wen-yuan
    Xu, Feng
    Wang, Yu
    Chen, Sheng
    ADVANCES IN MANUFACTURING TECHNOLOGY, PTS 1-4, 2012, 220-223 : 2428 - 2432
  • [44] A Parallel Single-Source Shortest Path Algorithm based on Bucket Structure
    Li, Qingxia
    Wei, Wenhong
    2013 25TH CHINESE CONTROL AND DECISION CONFERENCE (CCDC), 2013, : 3445 - 3450
  • [45] An Approximation Algorithm for an Assisted Shortest Path Problem
    Montez, Christopher
    Rathinam, Sivakumar
    Darbha, Swaroop
    Casbeer, David
    Manyam, Satyanarayana Gupta
    2021 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA 2021), 2021, : 8024 - 8030
  • [46] Models and algorithm for stochastic shortest path problem
    Ji, XY
    APPLIED MATHEMATICS AND COMPUTATION, 2005, 170 (01) : 503 - 514
  • [47] Discussion on a Simplified Algorithm for the Shortest Path Problem
    Cuiyan
    Litong
    Renshupo
    2008 INTERNATIONAL WORKSHOP ON INFORMATION TECHNOLOGY AND SECURITY, 2008, : 66 - 69
  • [48] Models and algorithm for Stochastic shortest path problem
    Ji, Xiaoyu
    Proceedings of the Third International Conference on Information and Management Sciences, 2004, 3 : 320 - 325
  • [49] An optimized floyd algorithm for the shortest path problem
    Wei D.
    Journal of Networks, 2010, 5 (12) : 1496 - 1504
  • [50] Research on algorithm for K shortest path problem
    Zhang, Yongmei
    Han, Yan
    Bo, Chengwei
    Journal of Information and Computational Science, 2004, 1 (03): : 435 - 439