English

An Algorithm for $L_\infty$ Approximation by Step Functions

Data Structures and Algorithms 2015-05-05 v2

Abstract

An algorithm is given for determining an optimal bb-step approximation of weighted data, where the error is measured with respect to the LL_\infty norm. For data presorted by the independent variable the algorithm takes Θ(n+lognb(1+logn/b))\Theta(n + \log n \cdot b(1+\log n/b)) time and Θ(n)\Theta(n) space. This is Θ(nlogn)\Theta(n \log n) in the worst case and Θ(n)\Theta(n) when b=O(n/lognloglogn)b = O(n/\log n \log\log n). A minor change determines an optimal reduced isotonic regression in the same time and space bounds, and the algorithm also solves the kk-center problem for 1-dimensional weighted data.

Keywords

Cite

@article{arxiv.1412.2379,
  title  = {An Algorithm for $L_\infty$ Approximation by Step Functions},
  author = {Quentin F. Stout},
  journal= {arXiv preprint arXiv:1412.2379},
  year   = {2015}
}
R2 v1 2026-06-22T07:22:50.260Z