English

Self-improving Algorithms for Coordinate-wise Maxima

Computational Geometry 2014-04-29 v1 Data Structures and Algorithms

Abstract

Computing the coordinate-wise maxima of a planar point set is a classic and well-studied problem in computational geometry. We give an algorithm for this problem in the \emph{self-improving setting}. We have nn (unknown) independent distributions \cD1,\cD2,...,\cDn\cD_1, \cD_2, ..., \cD_n of planar points. An input pointset (p1,p2,...,pn)(p_1, p_2, ..., p_n) is generated by taking an independent sample pip_i from each \cDi\cD_i, so the input distribution \cD\cD is the product i\cDi\prod_i \cD_i. A self-improving algorithm repeatedly gets input sets from the distribution \cD\cD (which is \emph{a priori} unknown) and tries to optimize its running time for \cD\cD. Our algorithm uses the first few inputs to learn salient features of the distribution, and then becomes an optimal algorithm for distribution \cD\cD. Let \OPT\cD\OPT_\cD denote the expected depth of an \emph{optimal} linear comparison tree computing the maxima for distribution \cD\cD. Our algorithm eventually has an expected running time of O(OPT\cD+n)O(\text{OPT}_\cD + n), even though it did not know \cD\cD to begin with. Our result requires new tools to understand linear comparison trees for computing maxima. We show how to convert general linear comparison trees to very restricted versions, which can then be related to the running time of our algorithm. An interesting feature of our algorithm is an interleaved search, where the algorithm tries to determine the likeliest point to be maximal with minimal computation. This allows the running time to be truly optimal for the distribution \cD\cD.

Keywords

Cite

@article{arxiv.1204.0824,
  title  = {Self-improving Algorithms for Coordinate-wise Maxima},
  author = {Kenneth L. Clarkson and Wolfgang Mulzer and C. Seshadhri},
  journal= {arXiv preprint arXiv:1204.0824},
  year   = {2014}
}

Comments

To appear in Symposium of Computational Geometry 2012 (17 pages, 2 figures)

R2 v1 2026-06-21T20:44:20.398Z