Skip to main navigation Skip to search Skip to main content

An O(n log n)-time algorithm for the k-center problem in trees

Research output: Contribution to journalArticlepeer-review

11 Scopus citations

Abstract

We consider a classical k-center problem in trees. Let T be a tree of n vertices such that 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., 12 (1983), pp. 751-758] gave an algorithm that can solve the problem in O(n log2 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(n log n) time. In this paper, we present an O(n log n) time algorithm for the problem and thus settle the open problem affirmatively.
Original languageEnglish
Pages (from-to)602-635
Number of pages34
JournalSIAM Journal on Computing
Volume50
Issue number2
DOIs
StatePublished - Jan 1 2021

Keywords

  • Algorithms
  • Computational geometry
  • Facility locations
  • K-center
  • Trees

Cite this