Approximate distance oracles

被引:361
作者
Thorup, M
Zwick, U
机构
[1] AT&T Labs Res, Shannon Lab, Florham Pk, NJ 07932 USA
[2] Tel Aviv Univ, Sch Comp Sci, IL-69978 Tel Aviv, Israel
关键词
algorithms; theory; approximate distance oracles; spanners; distance labelings; shortest paths; distance queries; distances;
D O I
10.1145/1044731.1044732
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Let G = (V, E) be an undirected weighted graph with \V\ = n and I E I = m. Let k greater than or equal to 1 be an integer. We show that G = (V, E) can be preprocessed in O(kmn(1/k)) expected time, constructing a data structure of size O(kn(1+1/k)), such that any subsequent distance query can be answered, approximately, in 0(k) time. The approximate distance returned is of stretch at most 2k - 1, that is, the quotient obtained by dividing the estimated distance by the actual distance lies between 1 and 2k - 1. A 1963 girth conjecture of Erdos, implies that Omega(n(1+1/k)) space is needed in the worst case for any real stretch strictly smaller than 2k + 1. The space requirement of our algorithm is, therefore, essentially optimal. The most impressive feature of our data structure is its constant query time, hence the name "oracle". Previously, data structures that used only O(n(1+1/k)) space had a query time of Omega(n(1/k)). Our algorithms are extremely simple and easy to implement efficiently. They also provide faster constructions of sparse spanners of weighted graphs, and improved tree covers and distance labelings of weighted or unweighted graphs.
引用
收藏
页码:1 / 24
页数:24
相关论文
共 62 条
[1]   Fast estimation of diameter and shortest paths (without matrix multiplication) [J].
Aingworth, D ;
Chekuri, C ;
Indyk, P ;
Motwani, R .
SIAM JOURNAL ON COMPUTING, 1999, 28 (04) :1167-1181
[2]   Derandomization, witnesses for Boolean matrix multiplication and construction of perfect hash functions [J].
Alon, N ;
Naor, M .
ALGORITHMICA, 1996, 16 (4-5) :434-449
[3]   The Moore bound for irregular graphs [J].
Alon, N ;
Hoory, S ;
Linial, N .
GRAPHS AND COMBINATORICS, 2002, 18 (01) :53-57
[4]  
ALON N, 1992, PROBABILISTIC METHOD
[5]   ON SPARSE SPANNERS OF WEIGHTED GRAPHS [J].
ALTHOFER, I ;
DAS, G ;
DOBKIN, D ;
JOSEPH, D ;
SOARES, J .
DISCRETE & COMPUTATIONAL GEOMETRY, 1993, 9 (01) :81-100
[6]  
[Anonymous], P 30 ANN ACM S THEOR
[7]  
[Anonymous], 2002, GRAD TEXT M
[8]   ROUTING WITH POLYNOMIAL COMMUNICATION-SPACE TRADE-OFF [J].
AWERBUCH, B ;
PELEG, D .
SIAM JOURNAL ON DISCRETE MATHEMATICS, 1992, 5 (02) :151-162
[9]   Near-linear time construction of sparse neighborhood covers [J].
Awerbuch, B ;
Berger, B ;
Cowen, L ;
Peleg, D .
SIAM JOURNAL ON COMPUTING, 1998, 28 (01) :263-277
[10]  
BASWANA A, 2003, P 30 INT COLL AUT LA, P3484