Deterministic Constructions of Approximate Distance Oracles and Spanners
Deterministic Constructions of Approximate Distance Oracles and Spanners
复制标题
近似距离预言机和扳手的确定性构造
DOI:
--
复制
发表时间:
2005
期刊:
影响因子:
--
通讯作者:
Uri Zwick
中科院分区:
文献类型:
--
作者:
L. Roditty;M. Thorup;Uri Zwick
Thorup and Zwick showed that for any integer k≥ 1, it is possible to preprocess any positively weighted undirected graph G=(V,E), with |E|=m and |V|=n, in O(kmn$^{\rm 1/{\it k}}$) expected time and construct a data structure (a (2k–1)-approximate distance oracle) of size O(kn$^{\rm 1+1/{\it k}}$) capable of returning in O(k) time an approximation $\hat{\delta}(u,v)$ of the distance δ(u,v) from u to v in G that satisfies $\delta(u,v) \leq \hat{\delta}(u,v) \leq (2k -1)\cdot \delta(u,v)$, for any two vertices u,v∈ V. They also presented a much slower O(kmn) time deterministic algorithm for constructing approximate distance oracle with the slightly larger size of O(kn$^{\rm 1+1/{\it k}}$log n). We present here a deterministic O(kmn$^{\rm 1/{\it k}}$) time algorithm for constructing oracles of size O(kn$^{\rm 1+1/{\it k}}$). Our deterministic algorithm is slower than the randomized one by only a logarithmic factor.
Using our derandomization technique we also obtain the first deterministic linear time algorithm for constructing optimal spanners of weighted graphs. We do that by derandomizing the O(km) expected time algorithm of Baswana and Sen (ICALP’03) for constructing (2k–1)-spanners of size O(kn$^{\rm 1+1/{\it k}}$) of weighted undirected graphs without incurring any asymptotic loss in the running time or in the size of the spanners produced.