Fast Calculation of Optimal Strategies for Searching with Non-Uniform Costs

  • Authors:
  • R. L. Milidiu;A. A. Pessoa;E. S. Laber;R. P. Renteria

  • Affiliations:
  • -;-;-;-

  • Venue:
  • SPIRE '00 Proceedings of the Seventh International Symposium on String Processing Information Retrieval (SPIRE'00)
  • Year:
  • 2000

Quantified Score

Hi-index 0.00

Visualization

Abstract

Proposes an algorithm for finding a binary search tree that minimizes the worst-case cost when the access costs are non-uniform and depend on the last accessed key. For this kind of problem, which is commonly found when accessing data stored on magnetic or optical disks, we present an algorithm that finds an optimal search strategy with an expected running time of O(n/sup 2/log n), under some reasonable assumptions on the cost matrix. It is worth mentioning that the best previous algorithm for this problem runs in /spl Theta/(n/sup 3/) time.