Faster Approximation of Distances in Graphs
Faster Approximation of Distances in Graphs
复制标题
更快地近似图中的距离
DOI:
10.1007/978-3-540-73951-7_47
复制
发表时间:
2007
期刊:
影响因子:
1.1
通讯作者:
S. Kasiviswanathan
中科院分区:
文献类型:
--
作者:
P. Berman;S. Kasiviswanathan
Let G = (V,E) be a weighted undirected graph on n vertices and m edges, and let dG be its shortest path metric. We present two simple deterministic algorithms for approximating all-pairs shortest paths in G. Our first algorithm runs in O (n2 time, and for any u, v ∈ V reports distance no greater than 2dG(u, v) + h(u, v). Here, h(u, v) is the largest edge weight on a shortest path between u and v. The previous algorithm, due to Baswana and Kavitha that achieved the same result was randomized. Our second algorithm for the all-pairs shortest path problem uses Boolean matrix multiplications and for any u, v ∈ V reports distance no greater than (1 + e)dG(u, v) + 2h(u, v). The currently best known algorithm for Boolean matrix multiplication yields an O(n2.24+o(1)e-3 log(ne-1)) time bound for this algorithm. The previously best known result of Elkin with a similar multiplicative factor had a much bigger additive error term.
We also consider approximating the diameter and the radius of a graph. For the problem of estimating the radius, we present an almost 3/2-approximation algorithm which runs in O(m √n + n2) time. Aingworth, Chekuri, Indyk, and Motwani used a similar approach and obtained analogous results for the diameter approximation problem. Additionally, we show that if the graph has a small separator decomposition a 3/2-approximation of both the diameter and the radius can be obtained more efficiently.