SELF-ADJUSTING K-ARY SEARCH-TREES

被引:18
作者
SHERK, M
机构
[1] Department of Computer Science, University of Waterloo, Waterloo
来源
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC | 1995年 / 19卷 / 01期
关键词
D O I
10.1006/jagm.1995.1026
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We present an online self-adjusting k-ary search tree, the k-splay tree, as a generalization of the binary splay tree. We prove a k-ary analogue of Sleator and Tarjan's splay tree access lemma using a considerably more complicated argument based on their technique. This lemma is used to prove that the amortized number of node accesses per operation in a k-splay tree with n keys is O(log(2) n) and that, to within a factor of log(2) k, k-splay trees are statistically optimal with respect to node accesses, i.e., in an amortized sense as good as any offline static k-ary tree. We also show how to maintain optimal use of node space in the presence of insertions and deletions. Like the B-tree, the k-splay tree makes effective use of k-ary branching and secondary storage. Unlike the splay tree and the B-tree, the k-splay tree may be optimal among all k-ary trees in an amortized sense with respect to node accesses. (C) 1995 Academic Press, Inc.
引用
收藏
页码:25 / 44
页数:20
相关论文
共 17 条
  • [1] Adelson-Velskii M., 1962, SOV MATH DOKL, V3, P1259
  • [2] [Anonymous], 1972, ACTA INFORM, DOI [10.1007/BF00288683, DOI 10.1007/BF00288683]
  • [3] BERMAN AM, 1990, ACTA INFORM, V27, P665, DOI 10.1007/BF00259471
  • [4] COLE R, 1990, 22ND P ACM S THEOR C, P8
  • [5] EPPSTEIN D, 1991, LECT NOTES COMPUT SC, V519, P392
  • [6] ESTIVILLCASTRO V, 1991, LECTURE NOTES COMPUT, V557
  • [7] DATA-STRUCTURES FOR ONLINE UPDATING OF MINIMUM SPANNING-TREES, WITH APPLICATIONS
    FREDERICKSON, GN
    [J]. SIAM JOURNAL ON COMPUTING, 1985, 14 (04) : 781 - 798
  • [8] LUCAS J, 1988, 234 RUTG U DEP COMP
  • [9] LUCAS J, 1988, 250 RUTG U DEP COMP
  • [10] SHERK M, 1989, LECT NOTES COMPUT SC, V382, P381