Optimal biweighted binary trees and the complexity of maintaining partial sums

被引:12
作者
Hampapuram, H
Fredman, ML
机构
[1] Intrinsa Corp, Mt View, CA 94041 USA
[2] Rutgers State Univ, Dept Comp Sci, New Brunswick, NJ 08903 USA
关键词
data structures; partial sums; lower bounds;
D O I
10.1137/S0097539795291598
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Let A be an array. The partial sum problem concerns the design of a data structure for implementing the following operations. The operation update(j, x) has the effect A[j] <-- A[j] + x, and the query operation sum(j) returns the partial sum Sigma(i=1)(j) i=1 A[i]. Our interest centers upon the optimal efficiency with which sequences of such operations can be performed, and we derive new upper and lower bounds in the semigroup model of computation. Our analysis relates the optimal complexity of the partial sum problem to optimal binary trees relative to a type of weighting scheme that defines the notion of biweighted binary tree.
引用
收藏
页码:1 / 9
页数:9
相关论文
共 8 条
[1]   INHERENT COMPLEXITY TRADE-OFFS FOR RANGE QUERY PROBLEMS [J].
BURKHARD, WA ;
FREDMAN, ML ;
KLEITMAN, DJ .
THEORETICAL COMPUTER SCIENCE, 1981, 16 (03) :279-290
[2]  
DIETZ P, 1989, ALGORITHMS DATA STRU
[3]  
Fredman M. L., 1989, Proceedings of the Twenty First Annual ACM Symposium on Theory of Computing, P345, DOI 10.1145/73007.73040
[4]   A LOWER BOUND ON THE COMPLEXITY OF ORTHOGONAL RANGE QUERIES [J].
FREDMAN, ML .
JOURNAL OF THE ACM, 1981, 28 (04) :696-705
[5]   THE COMPLEXITY OF MAINTAINING AN ARRAY AND COMPUTING ITS PARTIAL-SUMS [J].
FREDMAN, ML .
JOURNAL OF THE ACM, 1982, 29 (01) :250-260
[6]  
HAMPAPURAM H, 1994, THESIS RUTGERS STATE
[7]   LOWER BOUNDS FOR ACCESSING BINARY SEARCH-TREES WITH ROTATIONS [J].
WILBER, R .
SIAM JOURNAL ON COMPUTING, 1989, 18 (01) :56-67
[8]   ON THE COMPLEXITY OF MAINTAINING PARTIAL-SUMS [J].
YAO, AC .
SIAM JOURNAL ON COMPUTING, 1985, 14 (02) :277-288