DocumentCode :
2164887
Title :
Maintaining a Random Binary Search Tree Dynamically
Author :
Vinod, Prasad ; Pushpa, Suri ; Maple, Carsten
Author_Institution :
Dept. of Technol., Majan Univ.
fYear :
2006
fDate :
5-7 July 2006
Firstpage :
483
Lastpage :
488
Abstract :
Binary tree is a graph, without cycle, that is frequently used in computer science for fast data access and retrieval. To ensure faster insertion and deletion, the tree height has to be kept to a minimum. A random tree starts loosing its randomness after a series of insertions and deletions and, in the worst case, a tree with n nodes, could grow up to the height of n - 1. In this paper, we present modified insertion and deletion algorithms to maintain the tree in better shape dynamically. Without applying any complex rebalancing technique, or using considerable amount of space, both algorithms maintain the tree in such a way that even a series of insertions and asymmetric deletions do not cause the tree to grow beyond n/2. A comparative study of traditional and modified insert algorithms shows that for random input, the modified insert algorithm produces a tree with 20% to 30% reduction in height, forcing the average number of comparisons required for a successful search to go down by 15% to 20%
Keywords :
graph theory; tree searching; computer science; data access; data retrieval; insert algorithms; random binary search tree; Application software; Binary search trees; Binary trees; Computer science; Cost function; Information retrieval; Information systems; Shape; Tree data structures; Tree graphs;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Information Visualization, 2006. IV 2006. Tenth International Conference on
Conference_Location :
London, England
ISSN :
1550-6037
Print_ISBN :
0-7695-2602-0
Type :
conf
DOI :
10.1109/IV.2006.72
Filename :
1648303
Link To Document :
بازگشت