کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
427564 | 686523 | 2013 | 4 صفحه PDF | دانلود رایگان |
Given a set of n points in the plane, each point having a positive weight, and an integer k>0k>0, we present an optimal O(nlogn)-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. As a direct application, our result yields the first O(nlogn)-time algorithm for computing a k-center of a set of n weighted points on the real line.
► We consider a problem of fitting a k-step function to a weighted point-set.
► Our error metric is the maximum weighted vertical distance.
► We give an optimal deterministic algorithm.
Journal: Information Processing Letters - Volume 113, Issue 3, 15 February 2013, Pages 51–54