Fast shortest-paths algorithms in the presence of few destinations of negative-weight arcs

被引:2
|
作者
Cantone, Domenico [1 ]
Faro, Simone [1 ]
机构
[1] Univ Catania, Dept Math & Comp Sci, Viale Andrea Doria 6, I-95125 Catania, Italy
关键词
Shortest path; Negative edges; Computational complexity;
D O I
10.1016/j.jda.2013.03.005
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
In this paper we present hybrid algorithms for the single-source shortest-paths (SSSP) and for the all-pairs shortest-paths (APSP) problems, which are asymptotically fast when run on graphs with few destinations of negative-weight arcs. Plainly, the case of graphs with few sources of negative-weight arcs can be handled as well, using reverse graphs. With a directed graph with n nodes and m arcs, our algorithm for the SSSP problem has an O(l (m + n logn + l(2)))-time complexity, where l is the number of destinations of negative-weight arcs in the graph. In the case of the APSP problem, we propose an O(nm* + n(2) logn + ln(2)) algorithm, where m* is the number of arcs participating in shortest paths. Notice that m* is likely to be small in practice, since m* = O(n logn) with high probability for several probability distributions on arc weights. (C) 2013 Elsevier B.V. All rights reserved.
引用
收藏
页码:12 / 25
页数:14
相关论文
共 23 条
  • [1] All-pairs shortest-paths computation in the presence of negative cycles
    Mehlhorn, K
    Priebe, V
    Schäfer, G
    Sivadasan, N
    INFORMATION PROCESSING LETTERS, 2002, 81 (06) : 341 - 343
  • [2] Negative-Weight Single-Source Shortest Paths in Near-linear Time
    Bernstein, Aaron
    Nanongkai, Danupon
    Wulff-Nilsen, Christian
    Proceedings - Annual IEEE Symposium on Foundations of Computer Science, FOCS, 2022, 2022-October : 600 - 611
  • [3] Negative-Weight Single-Source Shortest Paths in Near-Linear Time
    Bernstein, Aaron
    Nanongkai, Danupon
    Wulff-Nilsen, Christian
    COMMUNICATIONS OF THE ACM, 2025, 68 (02) : 87 - 94
  • [4] Negative-Weight Single-Source Shortest Paths in Near-linear Time
    Bernstein, Aaron
    Nanongkai, Danupon
    Wulff-Nilsen, Christian
    arXiv, 2022,
  • [5] Negative-Weight Single-Source Shortest Paths in Near-linear Time
    Bernstein, Aaron
    Nanongkai, Danupon
    Wulff-Nilsen, Christian
    2022 IEEE 63RD ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2022, : 600 - 611
  • [6] Using software complexity measures to analyze algorithms - an experiment with the shortest-paths algorithms
    Nurminen, JK
    COMPUTERS & OPERATIONS RESEARCH, 2003, 30 (08) : 1121 - 1134
  • [7] Negative-Weight Single-Source Shortest Paths in Near-Linear Time: Now Faster!
    Bringmann, Karl
    Cassis, Alejandro
    Fischer, Nick
    2023 IEEE 64TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, FOCS, 2023, : 515 - 538
  • [9] Algorithms for shortest-paths and some related problems on a tree-structured parallel computer
    Chaudhuri, P
    KUWAIT JOURNAL OF SCIENCE & ENGINEERING, 1998, 25 (01): : 203 - 215
  • [10] External memory algorithms for diameter and all-pairs shortest-paths on sparse graphs
    Arge, L
    Meyer, U
    Toma, L
    AUTOMATA , LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2004, 3142 : 146 - 157