Kinetic Medians and kd-Trees

Pankaj K. Agarwal, Jie Gao, Leonidas J. Guibas

Abstract

We propose algorithms for maintaining two variants of kd-trees of a set of moving points in the plane. A pseudo kd-tree allows the number of points stored in the two children to differ by a constant factor. An overlapping kd-tree allows the bounding boxes of two children to overlap. We show that both of them support range search operations in O(n 1/2+∈) time, where ∈ only depends on the approximation precision. As the points move, we use event-based kinetic data structures to update the tree when necessary. Both trees undergo only a quadratic number of events, which is optimal, and the update cost for each event is only polylogarithmic. To maintain the pseudo kd-tree, we develop algorithms for computing an approximate median level of a line arrangement, which itself is of great interest. We show that the computation of the approximate median level of a set of lines or line segments can be done in an online fashion smoothly, i.e., there are no expensive updates for any events. For practical consideration, we study the case in which there are speed-limit restrictions or smooth trajectory requirements. The maintenance of the pseudo kd-tree, as a consequence of the approximate median algorithm, can also adapt to those restrictions
BibTeX
@inproceedings{agarwal2002kinetic,
  author = {Pankaj K. Agarwal and Jie Gao and Leonidas J. Guibas},
  title = {{Kinetic Medians and kd-Trees}},
  booktitle = {ESA},
  year = {2002},
  doi = {10.1007/3-540-45749-6\_5},
}

Loading related content...

Figure