English

A deterministic algorithm for fitting a step function to a weighted point-set

Data Structures and Algorithms 2012-10-12 v2 Computational Geometry

Abstract

Given a set of n points in the plane, each point having a positive weight, and an integer k>0, we present an optimal O(n \log n)-time deterministic algorithm to compute a step function with k steps that minimizes the maximum weighted vertical distance to the input points. It matches the expected time bound of the best known randomized algorithm for this problem. Our approach relies on Cole's improved parametric searching technique.

Keywords

Cite

@article{arxiv.1109.1152,
  title  = {A deterministic algorithm for fitting a step function to a weighted point-set},
  author = {Hervé Fournier and Antoine Vigneron},
  journal= {arXiv preprint arXiv:1109.1152},
  year   = {2012}
}

Comments

5 pages, 2 figures

R2 v1 2026-06-21T19:00:26.338Z