Linear-Time Fitting of a $k$-Step Function
Binay Bhattacharya, Sandip Das, Tsunehiko Kameda

TL;DR
This paper presents a linear-time algorithm for fitting a $k$-step function to weighted points, minimizing the maximum vertical distance, using prune-and-search, with applications to related problems.
Contribution
It introduces a prune-and-search based linear-time algorithm for $k$-step function fitting, applicable to multiple geometric optimization problems.
Findings
Algorithm runs in O(n) time for fixed k
Applicable to line-constrained k-center problem
Effective for size-k histogram construction
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.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComputational Geometry and Mesh Generation · Data Management and Algorithms · Smart Parking Systems Research
