DocumentCode
950829
Title
Adaptive structuring of binary search trees using conditional rotations
Author
Cheetham, Robert P. ; Oommen, B. John ; Ng, David T H
Author_Institution
Sch. of Comput. Sci., Carleton Univ., Ottawa, Ont., Canada
Volume
5
Issue
4
fYear
1993
fDate
8/1/1993 12:00:00 AM
Firstpage
695
Lastpage
704
Abstract
Consider a set A ={A 1,A 2 ,. . ., A n} of records, where each record is identified by a unique key. The records are accessed based on a set of access probabilities S =[s 1,s 2 ,. . ., s N] and are to be arranged lexicographically using a binary search tree (BST). If S is known a priori, it is well known that an optimal BST may be constructed using A and S . The case when S is not known a priori is considered. A new restructuring heuristic is introduced that requires three extra integer memory locations per record. In this scheme, the restructuring is performed only if it decreases the weighted path length (WPL) of the overall resultant tree. An optimized version of the latter method, which requires only one extra integer field per record has, is presented. Initial simulation results comparing this algorithm with various other static and dynamic schemes indicates that this scheme asymptotically produces trees which are an order of magnitude closer to the optimal one than those produced by many of the other BST schemes reported in the literature
Keywords
tree data structures; adaptive structuring; binary search trees; conditional rotations; integer memory locations; restructuring heuristic; simulation; weighted path length; Artificial intelligence; Binary search trees; Dictionaries; Dynamic programming; Optimization methods; Organizing; Stochastic processes; Tin; Tree data structures; Vectors;
fLanguage
English
Journal_Title
Knowledge and Data Engineering, IEEE Transactions on
Publisher
ieee
ISSN
1041-4347
Type
jour
DOI
10.1109/69.234780
Filename
234780
Link To Document