Efficient algorithms for constructing (1+,ε, β)-spanners in the distributed and streaming models
Efficient algorithms for constructing (1+,ε, β)-spanners in the distributed and streaming models
复制标题
在分布式和流式模型中构建 (1+,ε,β)-spanner 的高效算法
DOI:
10.1145/1011767.1011791
复制
发表时间:
2004
期刊:
影响因子:
--
通讯作者:
Jian Zhang
中科院分区:
文献类型:
--
作者:
Michael Elkin;Jian Zhang
For an unweighted undirected graph <i>G</i>= (<i>V</i>,<i>E</i>), and a pair of positive integers α ≥ 1, β ≥ 0, a subgraph <i>G'</i>= (<i>V</i>,<i>H</i>), <i>H</i> ⊆ <i>E</i>, is called an <i>(α,β)-spanner of G</i> if for every pair of vertices <i>u</i>, <i>v</i> ∈ <i>V</i>, <i>dist<inf>G'</inf></i>(<i>u</i>,<i>v</i>) ≤ α • <i>dist<inf>G'</inf></i>(<i>u</i>,<i>v</i>) + β.It was shown in [20] that for any ε > 0, κ = 1,2, ..., there exists an integer β = β(ε,κ) such that for every <i>n</i>-vertex graph <i>G</i> there exists a (1+ε,β)-spanner <i>G'</i> with <i>O</i>(<i>n</i><sup>1+1/κ</sup>) edges. An efficient distributed protocol for constructing (1+ε,β)-spanners was devised in [18]. The running time and the communication complexity of that protocol are <i>O</i>(<i>n</i><sup>1+ρ</sup>) and <i>O</i>(|<i>E</i>|<i>n</i><sup>ρ</sup>), respectively, where ρ is an additional control parameter of the protocol that affects only the additive term β.In this paper we devise a protocol with a drastically improved running time (<i>O</i>(<i>n</i><sup>ρ</sup>) as opposed to (<i>O</i>(<i>n</i><sup>1+ρ</sup>) for constructing (1+ε,β)-spanners. Our protocol has the same communication complexity as the protocol of [18], and it constructs spanners with essentially the same properties as the spanners that are constructed by the protocol of [18].We also show that our protocol for constructing (1+ε, β)-spanners can be adapted to the streaming model, and devise a streaming algorithm that uses a constant number of passes and <i>O(n</i><sup>1+1/κ</sup> • log <i>n</i>) bits of space for computing all-pairs-almost-shortest-paths of length at most by a multiplicative factor (1 + ε) and an additive term of β greater than the shortest paths. Our algorithm processes each edge in time <i>O</i>(<i>n</i><sup>ρ</sup>), for an arbitrarily small ρ > <i>0</i>. The only previously known algorithm for the problem [21] constructs paths of length κ times greater than the shortest paths, has the same space requirements as our algorithm, but requires <i>O</i>(<i>n</i><sup>1+1/κ</sup>) time for processing each edge of the input graph. However, the algorithm of [21] uses just one pass over the input, as opposed to the constant number of passes in our algorithm. We also show that any streaming algorithm for <i>o</i>(<i>n</i>)-approximate distance computation requires Ω(<i>n</i>) bits of space.