English

An $O(n\log n)$-Time Algorithm for the k-Center Problem in Trees

Data Structures and Algorithms 2018-03-07 v2 Computational Geometry

Abstract

We consider a classical k-center problem in trees. Let T be a tree of n vertices and every vertex has a nonnegative weight. The problem is to find k centers on the edges of T such that the maximum weighted distance from all vertices to their closest centers is minimized. Megiddo and Tamir (SIAM J. Comput., 1983) gave an algorithm that can solve the problem in O(nlog2n)O(n\log^2 n) time by using Cole's parametric search. Since then it has been open for over three decades whether the problem can be solved in O(nlogn)O(n\log n) time. In this paper, we present an O(nlogn)O(n\log n) time algorithm for the problem and thus settle the open problem affirmatively.

Keywords

Cite

@article{arxiv.1705.02752,
  title  = {An $O(n\log n)$-Time Algorithm for the k-Center Problem in Trees},
  author = {Haitao Wang and Jingru Zhang},
  journal= {arXiv preprint arXiv:1705.02752},
  year   = {2018}
}

Comments

9 figures; 32 pages; a preliminary version to appear in SoCG 2018

R2 v1 2026-06-22T19:39:54.485Z