BINARY SEARCH-TREES OF ALMOST OPTIMAL HEIGHT

被引:6
|
作者
ANDERSSON, A
ICKING, C
KLEIN, R
OTTMANN, T
机构
[1] UNIV ESSEN GESAMTHSCH,FACHBEREICH 6,PRAKT SOFTWAREORIENTIERTE INFORMAT,W-4300 ESSEN 1,GERMANY
[2] UNIV FREIBURG,INST INFORMAT,W-7800 FREIBURG,GERMANY
关键词
Computer Metatheory - Computational Complexity - Computer Programming - Algorithms - Mathematical Techniques - Trees;
D O I
10.1007/BF01237235
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
First we present a generalization of symmetric binary B-trees, SBB(k)-trees. The obtained structure has a height of only [GRAPHICS] where k may be chosen to be any positive integer. The maintenance algorithms require only a constant number of rotations per updating operation in the worst case. These properties together with the fact that the structure is relatively simple to implement makes it a useful alternative to other search trees in practical applications. Then, by using an SBB(k)-tree with a varying k we achieve a structure with a logarithmic amortized cost per update and a height of log n+o(log n). This result is an improvement of the upper bound on the height of a dynamic binary search tree. By maintaining two trees simultaneously the amortized cost is transformed into a worst-case cost. Thus, we have improved the worst-case complexity of the dictionary problem.
引用
收藏
页码:165 / 178
页数:14
相关论文
共 50 条