Weighted Binary Trees for Concurrent Searching
β Scribed by David Cohen; Michael L. Fredman
- Publisher
- Elsevier Science
- Year
- 1996
- Tongue
- English
- Weight
- 225 KB
- Volume
- 20
- Category
- Article
- ISSN
- 0196-6774
No coin nor oath required. For personal study only.
β¦ Synopsis
A traditional cost measure for binary search trees is given by weighted path length, which measures the expected cost of a single random search. In this paper, we investigate a generalization, the k-cost, which is suitable for applications involving independent parallel processors each utilizing a common search tree. The k-cost is defined to be the expected value of the maximum length of the search paths encountered during the course of k independently performed random searches. For example, if k s 1, then the k-cost represents the traditional weighted path length. Our results include efficient algorithms for constructing binary search trees having near optimal k-cost. An interesting feature of one of our algorithms concerns the fact that it constructs a search tree that simultaneously has near optimal k-cost for all k; in fact, the structure of this tree is determined only by the order permutation of the sequence of probability weights that are to be assigned to the tree nodes. This stands in contrast to an example which shows that a tree which Ε½ . is precisely optimal relative to weighted path length 1-cost can have k-cost which is exponentially greater than the k-cost of the optimal tree. We also investigate connections between splaying and k-cost. In pursuing this connection we define a problem, the curator problem, which is approximately dual to the problem of optimal k-cost, and then use this duality to elucidate certain aspects of the dynamic optimality conjecture for splay trees.
π SIMILAR VOLUMES
In a randomly grown binary search tree BST of size n, any fixed pattern occurs with a frequency that is on average proportional to n. Deviations from the average case are highly unlikely and well quantified by a Gaussian law. Trees with forbidden patterns occur with an exponentially small probabilit
We study the distribution Q on the set B, of binary search trees over a linearly ordered set of n records under the standard random permutation model. This distribution also arises as the stationary distribution for the move-to-root (MTR) Markov chain taking values in B,, when successive requests ar