Fully dynamic transitive closure:: Breaking through the O(n2) barrier

被引:56
作者
Demetrescu, C [1 ]
Italiano, GF [1 ]
机构
[1] Univ Roma La Sapienza, Dipartimento Informat & Sistemist, I-00198 Rome, Italy
来源
41ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS | 2000年
关键词
D O I
10.1109/SFCS.2000.892126
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper we introduce a general framework for casting fully dynamic transitive closure into the problem of reevaluating polynomials over matrices. With this technique, we improve the best known bounds for fully dynamic transitive closure. In particular we devise a deterministic algorithm for general directed graphs that achieves O(n(2)) amortized time for updates, while preserving unit worst-case cost for queries. In case of deletions only, our algorithm performs updates faster in O(n) amortized time. Our matrix-based approach yields an algorithm for directed acyclic graphs which breaks through the O(n(2)) barrier on the single-operation complexity of fully dynamic transitive closure. We can answer queries in O(n(epsilon)) time and perform updates in O(n(omega (1,epsilon ,1)-epsilon) + n(1+epsilon)) time, for any epsilon is an element of [0, 1], where omega (1, epsilon, 1) is the exponent of the multiplication of an nxn(epsilon) matrix by an n(epsilon)xn matrix. The current best bounds on omega (1, epsilon, 1) imply an O(n(0.575)) query time and an O(n(1.575)) update time. Our subquadratic algorithm is randomized, and has one-side error.
引用
收藏
页码:381 / 389
页数:9
相关论文
共 16 条
[1]  
Aho A.V., 1974, The Design and Analysis of Computer Algorithms
[2]   MATRIX MULTIPLICATION VIA ARITHMETIC PROGRESSIONS [J].
COPPERSMITH, D ;
WINOGRAD, S .
JOURNAL OF SYMBOLIC COMPUTATION, 1990, 9 (03) :251-280
[3]  
FISCHER MJ, 1971, 12TH IEEE ANN S SWIT, P129
[4]  
Henzinger MR, 1995, AN S FDN CO, P664, DOI 10.1109/SFCS.1995.492668
[5]   Fast rectangular matrix multiplication and applications [J].
Huang, XH ;
Pan, VY .
JOURNAL OF COMPLEXITY, 1998, 14 (02) :257-299
[6]   ONLINE COMPUTATION OF TRANSITIVE CLOSURES OF GRAPHS [J].
IBARAKI, T ;
KATOH, N .
INFORMATION PROCESSING LETTERS, 1983, 16 (02) :95-97
[7]   AMORTIZED EFFICIENCY OF A PATH RETRIEVAL DATA STRUCTURE [J].
ITALIANO, GF .
THEORETICAL COMPUTER SCIENCE, 1986, 48 (2-3) :273-281
[8]   FINDING PATHS AND DELETING EDGES IN DIRECTED ACYCLIC GRAPHS [J].
ITALIANO, GF .
INFORMATION PROCESSING LETTERS, 1988, 28 (01) :5-11
[9]  
Khanna S, 1996, PROCEEDINGS OF THE SEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P222
[10]  
King V., 1999, Proceedings of the Thirty-First Annual ACM Symposium on Theory of Computing, P492, DOI 10.1145/301250.301380