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
相关论文
共 50 条