ACM Home Page
Please provide us with feedback. Feedback
Performance of height-balanced trees
Full text PdfPdf (491 KB)
Source
Communications of the ACM archive
Volume 19 ,  Issue 1  (January 1976) table of contents
Pages: 23 - 28  
Year of Publication: 1976
ISSN:0001-0782
Authors
P. L. Karlton  Carnegie-Mellon Univ., Pittsburgh, PA
S. H. Fuller  Carnegie-Mellon Univ., Pittsburgh, PA
R. E. Scroggs  Carnegie-Mellon Univ., Pittsburgh, PA
E. B. Kaehler  Carnegie-Mellon Univ., Pittsburgh, PA
Publisher
ACM  New York, NY, USA
Bibliometrics
Downloads (6 Weeks): 10,   Downloads (12 Months): 47,   Citation Count: 14
Additional Information:

abstract   references   cited by   index terms   collaborative colleagues  

Tools and Actions: Request Permissions Request Permissions    Review this Article  
DOI Bookmark: Use this link to bookmark this Article: http://doi.acm.org/10.1145/359970.359989
What is a DOI?

ABSTRACT

This paper presents the results of simulations that investigate the performance of height-balanced (HB[k]) trees. It is shown that the only statistic of HB[1] trees (AVL trees) that is a function of the size of the tree is the time to search for an item in the tree. For sufficiently large trees, the execution times of all procedures for maintaining HB[1] trees are independent of the size of the tree. In particular, an average of .465 restructures are required per insertion, with an average of 2.78 nodes revisited to restore the HB[1] property; an average of .214 restructures are required per deletion, with an average of 1.91 nodes revisited to restore the HB[1] property. Moreover, the execution times of procedures for maintaining HB[k] trees, for k > 1, are also independent of the size of the tree except for the average number of nodes revisited on a delete operation in order to restore the HB[k] property on traceback. The cost of maintaining HB[k] trees drops sharply as the allowable imbalance (k) increases. Both analytical and experimental results that show the cost of maintaining HB[k] trees as a function of k are discussed.


REFERENCES

Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.

 
1
Adel'son-Vel'skii, G.M., and Landis, E.M. An algorithm for the organization of information. Doklady Akad. Nauk. USSR 146, 2 (1962), 263-266.
 
2
Feller, W. An Introduction to Probability Theory and Its Applications. Wiley, New York, pp. 275-279.
3
4
5
 
6
 
7
Kosaraju, S.R. On information storage and retrieval by AVL trees. In Princeton Conf. on Information Storage and Retrieval, Princeton U., 1973.
8
 
9
Nievergelt, J., and Reingold, E.M. Binary search trees of bounded balance. SIAM J. Computing 4, 1 (March 1973), 33-43.
10
 
11
Stone, H., and Siewiorek, D.P. Introduction to Computer Organization and Data Structure, PDP-11 Ed. McGraw-Hill, New York, 1975.
12

CITED BY  14

Collaborative Colleagues:
P. L. Karlton: colleagues
S. H. Fuller: colleagues
R. E. Scroggs: colleagues
E. B. Kaehler: colleagues