dc.contributor |
Universitat Politècnica de Catalunya. Departament de Ciències de la Computació |
dc.contributor.author |
Martínez Parra, Conrado |
dc.contributor.author |
Prodinger, Helmut |
dc.date |
1997-01 |
dc.identifier.citation |
Martinez, C., Prodinger, H. "On the number of descendants and ascendants in random search trees". 1997. |
dc.identifier.uri |
http://hdl.handle.net/2117/96448 |
dc.language.iso |
eng |
dc.relation |
LSI-97-1-R |
dc.rights |
info:eu-repo/semantics/openAccess |
dc.subject |
Àrees temàtiques de la UPC::Informàtica::Informàtica teòrica |
dc.subject |
Random search trees |
dc.subject |
Probabilistic analysis |
dc.subject |
Descendants |
dc.subject |
Ascendants |
dc.title |
On the number of descendants and ascendants in random search trees |
dc.type |
info:eu-repo/semantics/publishedVersion |
dc.type |
info:eu-repo/semantics/report |
dc.description.abstract |
We consider here the probabilistic analysis of the number of descendants and the number of ascendants of a given internal node in a random search tree. The performance of several important algorithms on search trees is closely related to these quantities. For
instance, the cost of a successful search is proportional to the
number of ascendants of the sought element. On the other hand, the
probabilistic behavior of the number of descendants is relevant for the
analysis of paged data structures and for the analysis of the performance of quicksort, when recursive calls are not made on small subfiles. We also consider the number of ascendants and descendants of a random node in a random search tree, i.e., the grand averages of the quantities mentioned above. We address these questions for standard binary search trees and for locally balanced search trees.
These search trees were introduced by Poblete and Munro and are binary search trees such that each subtree of size 3 is balanced; in other words, binary search trees where there are not two adjacent internal nodes with only one son each. In this work, we follow a purely combinatorial approach, extensively using generating functions, and derive exact and asymptotic expressions for the probability distribution and moments of some of the considered quantities, finding several new results as well as alternative derivations for already known results. |