Title :
Randomized search trees
Author :
Aragon, Cecilia R. ; Seidel, Raimund G.
Author_Institution :
Comput. Sci. Div., California Univ., Berkeley, CA, USA
fDate :
30 Oct-1 Nov 1989
Abstract :
A randomized strategy for maintaining balance in dynamically changing search trees that has optimal expected behavior is presented. In particular, in the expected case an update takes logarithmic time and requires fewer than two rotations. Moreover, the update time remains logarithmic, even if the cost of a rotation is taken to be proportional to the size of the rotated subtree. The approach generalizes naturally to weighted trees, where the expected time bounds for accesses and updates again match the worst case time bounds of the best deterministic methods. The balancing strategy and algorithms are exceedingly simple and should be fast in practice
Keywords :
computational complexity; data structures; search problems; trees (mathematics); balancing strategy; dynamically changing search trees; expected time bounds; logarithmic time; optimal expected behavior; rotated subtree; tree balancing; update time; weighted trees; Binary search trees; Binary trees; Computer applications; Computer science; Concurrent computing; Costs; Dynamic programming; Frequency;
Conference_Titel :
Foundations of Computer Science, 1989., 30th Annual Symposium on
Conference_Location :
Research Triangle Park, NC
Print_ISBN :
0-8186-1982-1
DOI :
10.1109/SFCS.1989.63531