All-pairs almost shortest paths

被引:158
|
作者
Dor, D [1 ]
Halperin, S [1 ]
Zwick, U [1 ]
机构
[1] Tel Aviv Univ, Dept Comp Sci, IL-69978 Tel Aviv, Israel
关键词
graph algorithms; shortest paths; approximation algorithms; spanners; emulators;
D O I
10.1137/S0097539797327908
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Let G = (V, E) be an unweighted undirected graph on n vertices. A simple argument shows that computing all distances in G with an additive one-sided error of at most 1 is as hard as Boolean matrix multiplication. Building on recent work of Aingworth et al. [SIAM J. Comput., 28 (1999), pp. 1167 1181], we describe an (O) over tilde(min{n(3/2)m(1/2),n(7/3)})-time algorithm APASP(2) for computing all distances in G with an additive one-sided error of at most 2. Algorithm APASP(2) is simple, easy to implement, and faster than the fastest known matrix-multiplication algorithm. Furthermore, for every even k > 2, we describe an (O) over tilde(min{n(2-2/(k+2))m(2/(k+2)),n(2+2/(3k-2))})-time algorithm APASP(k) for computing all distances in G with an additive one-sided error of at most k. We also give an (O) over tilde(n(2))-time algorithm APASP(infinity) for producing stretch 3 estimated distances in an unweighted and undirected graph on n vertices. No constant stretch factor was previously achieved in (O) over tilde(n(2)) time. We say that a weighted graph F = (V, E') k-emulates an unweighted graph G = (V, E) if for every u, v is an element of V we have delta(G)(u, v) less than or equal to delta(F)(u, v) less than or equal to delta(G)(u, v) + k. We show that every unweighted graph on n vertices has a 2-emulator with (O) over tilde(n(3/2)) edges and a 4-emulator with (O) over tilde(n(4/3)) edges. These results are asymptotically tight. Finally, we show that any weighted undirected graph on n vertices has a 3-spanner with (O) over tilde(n(3/2)) edges and that such a 3-spanner can be built in (O) over tilde(mn(1/2)) time. We also describe an (O) over tilde(n(m(2/3)+n))-time algorithm for estimating all distances in a weighted undirected graph on n vertices with a stretch factor of at most 3.
引用
收藏
页码:1740 / 1759
页数:20
相关论文
共 50 条
  • [31] A symbolic approach to the all-pairs shortest-paths problem
    Sawitzki, D
    GRAPH -THEORETIC CONCEPTS IN COMPUTER SCIENCE, 2004, 3353 : 154 - 167
  • [32] DYNAMIC APPROXIMATE ALL-PAIRS SHORTEST PATHS IN UNDIRECTED GRAPHS
    Roditty, Liam
    Zwick, Uri
    SIAM JOURNAL ON COMPUTING, 2012, 41 (03) : 670 - 683
  • [33] On the comparison-addition complexity of all-pairs shortest paths
    Pettie, S
    ALGORITHMS AND COMPUTATION, PROCEEDINGS, 2002, 2518 : 32 - 43
  • [34] Computing all-pairs shortest paths by leveraging low treewidth
    Planken, Leon
    Weerdt, Mathijs De
    Krogt, Roman Van Der
    Planken, L. (l.r.planken@tudelft.nl), 1600, AI Access Foundation (43): : 353 - 388
  • [35] A New Deterministic Algorithm for Fully Dynamic All-Pairs Shortest Paths
    Chuzhoy, Julia
    Zhang, Ruimin
    PROCEEDINGS OF THE 55TH ANNUAL ACM SYMPOSIUM ON THEORY OF COMPUTING, STOC 2023, 2023, : 1159 - 1172
  • [36] Communication Avoiding All-Pairs Shortest Paths Algorithm for Sparse Graphs
    Zhu, Lin
    Hua, Qiang-Sheng
    Jin, Hai
    50TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 2021,
  • [37] A Fast Algorithm to Find All-Pairs Shortest Paths in Complex Networks
    Peng, Wei
    Hu, Xiaofeng
    Zhao, Feng
    Su, Jinshu
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE, ICCS 2012, 2012, 9 : 557 - 566
  • [38] Does path cleaning help in dynamic all-pairs shortest paths?
    Demetrescu, C.
    Faruolo, P.
    Italiano, G. F.
    Thorup, M.
    ALGORITHMS - ESA 2006, PROCEEDINGS, 2006, 4168 : 732 - 743
  • [39] Complexity of Eccentricities and All-Pairs Shortest Paths in the Quantum CONGEST Model
    Wang, Changsheng
    Wu, Xudong
    Yao, Penghui
    SPIN, 2021, 11 (03)
  • [40] Fast All-Pairs Shortest Paths Algorithm in Large Sparse Graph
    Yang, Shaofeng
    Liu, Xiandong
    Wang, Yunting
    He, Xin
    Tan, Guangming
    PROCEEDINGS OF THE 37TH INTERNATIONAL CONFERENCE ON SUPERCOMPUTING, ACM ICS 2023, 2023, : 277 - 288