Improving time and space efficiency in generalized binary search trees |
| |
Authors: | Walter Cunto Jose Luis Gascon |
| |
Affiliation: | (1) Centro Cientifico IBM de Venezuela, A.P. 388 Caracas, Venezuela;(2) Burroughs de Venezuela, A.P. 70116 Caracas, Venezuela |
| |
Abstract: | Summary This paper deals with main memory data structures for which time and space performance are simultaneously considered. The main contribution is a new data structure called Generalised Binary Search Tree (GBS-tree) together with searching and updating algorithms on this structure. GBS-trees generalise different data structures based on binary trees that have appeared in the literature. A k-t GBS-tree allows up to t keys per node and subtrees in the tree's fringe of exactly 2k-1 full nodes are kept balanced. Their time and space performances are analysed in depth. The time performance is expressed in terms of the average and the variance of the number of binary comparisons between a given key and keys already in the structure. The space performance measures both the space used to space generated ratio (space utilization factor) and the pointers to keys ratio of these trees. The analysis shows that the time performance always improves when GBS-trees of higher order are considered. In the absence of balancing techniques, larger values of t, which produces smaller pointers to key ratios, induce unacceptably poor space utilizations factors. We show that both pointers to keys ratio and space utilization factor improve when larger values of k are used. Thus, local balancing techniques are adequate, not only for time performance improvement, but also, for space performance improvement. |
| |
Keywords: | |
本文献已被 SpringerLink 等数据库收录! |
|