Linear-Time Fitting of a -Step Function
arXiv:1512.07537
Abstract
Given a set of weighted points on the - plane, we want to find a step function consisting of horizontal steps such that the maximum vertical weighted distance from any point to a step is minimized. We solve this problem in time when is a constant. Our approach relies on the prune-and-search technique, and can be adapted to design similar linear time algorithms to solve the line-constrained k-center problem and the size- histogram construction problem as well.
12 pages, 4 figures, Caldam 2016