ON THE AVERAGE INTERNAL PATH-LENGTH OF M-ARY SEARCH-TREES

被引:15
作者
MAHMOUD, HM
机构
[1] George Washington Univ, Washington,, DC, USA, George Washington Univ, Washington, DC, USA
关键词
MATHEMATICAL TECHNIQUES - Trees;
D O I
10.1007/BF00268078
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Consider an m-ary tree constructed from a random permutation of size n. When all permutations are equally likely, the average internal path length, which may be considered as a cost measure for searching the tree, is shown to be (n plus 1)H//n/(H//m minus 1) plus cn plus O(n** beta ), beta less than 1, with c equals c(m) equals minus m/(m minus 1) minus (H//m minus 1)** minus **1 plus A//m**(**m**), where H//k is the k**t**h harmonic number and A//1**(**m**) is a coefficient obtained by solving a linear system of equations. This result tells us that the average cost of searching unbalanced m-ary trees is essentially the same as that of searching other popular variants of m-ary trees like B-trees and B** plus -trees where sophisticated methods are used for balancing.
引用
收藏
页码:111 / 117
页数:7
相关论文
共 8 条
  • [1] AHO AV, 1983, DATA STRUCTURES
  • [2] [Anonymous], [No title captured]
  • [3] ASYMPTOTIC METHODS IN ENUMERATION
    BENDER, EA
    [J]. SIAM REVIEW, 1974, 16 (04) : 485 - 515
  • [4] UBIQUITOUS B-TREE
    COMER, D
    [J]. COMPUTING SURVEYS, 1979, 11 (02) : 121 - 137
  • [5] Hibbard T. N, 1962, J ACM, V9, P13
  • [6] Knuth D. E., 1973, ART COMPUTER PROGRAM
  • [7] ON THE MOST PROBABLE SHAPE OF A SEARCH TREE GROWN FROM A RANDOM PERMUTATION
    MAHMOUD, H
    PITTEL, B
    [J]. SIAM JOURNAL ON ALGEBRAIC AND DISCRETE METHODS, 1984, 5 (01): : 69 - 81
  • [8] MAHMOUD H, UNPUB DISCRETE MATH