Randomized K-Dimensional Binary Search Trees

  • Authors:
  • Amalia Duch;Vladimir Estivill-Castro;Conrado Martinez

  • Affiliations:
  • -;-;-

  • Venue:
  • ISAAC '98 Proceedings of the 9th International Symposium on Algorithms and Computation
  • Year:
  • 1998

Quantified Score

Hi-index 0.00

Visualization

Abstract

We introduce randomized K-dimensional binary search trees (randomized Kd-trees), a variant of K-dimensional binary search trees that allows the efficient maintenance of multidimensional records for any sequence of insertions and deletions; and thus, is fully dynamic. We show that several types of associative queries are efficiently supported by randomized Kd-trees. In particular, a randomized Kd-tree with n records answers exact match queries in expected O(log n) time. Partial match queries are answered in expected O(n1-f(s/K)) time, when s out of K attributes are specified (with 0 f(s/K) s/K). Nearest neighbor queries are answered on-line in expected O(log n) time. Our randomized algorithms guarantee that their expected time bounds hold irrespective of the order and number of insertions and deletions.