<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Optimal binary search trees with costs depending on the access paths

Resumo

We describe algorithms for constructing optimal binary search trees, in which the access cost of a key depends on the k preceding keys which were reached in the path to it. This problem has applications to searching on secondary memory and robotics. Two kinds of optimal trees are considered, namely optimal worst case trees and weighted average case trees. The time and space complexities of both algorithms are O(nᵏ+²) and O(nᵏ+¹ ), respectively. The algorithms are based on a convenient decomposition and characterizations of sequences of keys which are paths of special kinds in binary search trees. Finally, using generating funcions, we present an exact analysis of the number of steps performed by the algorithms.

Descrição

Citação

SZWARCFITER, J. L. et al. Optimal binary search trees with costs depending on the access paths. Rio de Janeiro: NCE, UFRJ, 1999. 19 p. (Relatório Técnico, 23/99)

Coleções

Avaliação

Revisão

Suplementado Por

Referenciado Por

Direitos e licensiamento

Acesso Aberto