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 条
  • [1] An almost 2-approximation for all-pairs of shortest paths in subquadratic time
    Akav, Maor
    Roditty, Liam
    PROCEEDINGS OF THE 2020 ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, SODA, 2020, : 1 - 11
  • [2] An almost 2-approximation for all-pairs of shortest paths in subquadratic time
    Akav, Maor
    Roditty, Liam
    PROCEEDINGS OF THE THIRTY-FIRST ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS (SODA'20), 2020, : 1 - 11
  • [3] Algorithms for maintaining all-pairs shortest paths
    Misra, S
    Oommen, BJ
    10TH IEEE SYMPOSIUM ON COMPUTERS AND COMMUNICATIONS, PROCEEDINGS, 2005, : 116 - 121
  • [4] ALL-PAIRS SHORTEST PATHS AND THE ESSENTIAL SUBGRAPH
    MCGEOCH, CC
    ALGORITHMICA, 1995, 13 (05) : 426 - 441
  • [5] Minimizing communication in all-pairs shortest paths
    Solomonik, Edgar
    Buluc, Aydin
    Demmel, James
    IEEE 27TH INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM (IPDPS 2013), 2013, : 548 - 559
  • [6] Fuzzy all-pairs shortest paths problem
    Seda, Milos
    COMPUTATIONAL INTELLIGENCE, THEORY AND APPLICATION, 2006, : 395 - 404
  • [7] All pairs almost shortest paths
    Dor, D
    Halperin, S
    Zwick, U
    37TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 1996, : 452 - 461
  • [8] All-Pairs Shortest Paths with a Sublinear Additive Error
    Roditty, Liam
    Shapira, Asaf
    ACM TRANSACTIONS ON ALGORITHMS, 2011, 7 (04)
  • [9] Decremental All-Pairs ALL Shortest Paths and Betweenness Centrality
    Nasre, Meghana
    Pontecorvi, Matteo
    Ramachandran, Vijaya
    ALGORITHMS AND COMPUTATION, ISAAC 2014, 2014, 8889 : 766 - 778
  • [10] All-pairs shortest paths with a sublinear additive error
    Roditty, Liam
    Shapira, Asaf
    AUTOMATA, LANGUAGES AND PROGRAMMING, PT 1, PROCEEDINGS, 2008, 5125 : 622 - +