Issue No. 04 - August (1993 vol. 5)

ISSN: 1041-4347

pp: 695-704

DOI Bookmark: http://doi.ieeecomputersociety.org/10.1109/69.234780

ABSTRACT

<p>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.</p>

INDEX TERMS

adaptive structuring; binary search trees; conditional rotations; restructuring heuristic; integer memory locations; weighted path length; simulation; tree data structures

CITATION

D.T.H. Ng, B.J. Oommen, R.P. Cheetham, "Adaptive Structuring of Binary Search Trees Using Conditional Rotations",

*IEEE Transactions on Knowledge & Data Engineering*, vol. 5, no. , pp. 695-704, August 1993, doi:10.1109/69.234780