Computer Science Colloquium

OPTIMAL BINARY SEARCH TREES WITH COSTS DEPENDINGON THE ACCESS PATHS

Dr. Jayme Szwarcfiter
Universidade Federal do Rio de Janeiro


Thursday, March 7, 2002
3:00pm
CSB 232


Abstract

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^{k+2}) and O(n^{k+1}), 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 functions, we present an exact analysis of the number of steps performed by the algorithms.


About the Speaker

Jayme Szwarcfiter is a full professor at the Federal University of Rio de Janeiro, Brazil. He has obtained his doctorate at the University of Newcastle upon Tyne, England, in 1975. He has been working in the areas os graph theory, graph algorithms and data structures.