计算机科学 > 计算几何
[提交于 2015年12月23日]
标题:Linear-Time Fitting of a $k$-Step Function
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Given a set of $n$ weighted points on the $x$-$y$ plane, we want to find a step function consisting of $k$ horizontal steps such that the maximum vertical weighted distance from any point to a step is minimized. We solve this problem in $O(n)$ time when $k$ 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-$k$ histogram construction problem as well.
提交历史
来自:Tsunehiko Kameda[v1] 2015年12月23日 星期三 16:42:28 UTC