Introduction
The $k$-center problem is a fundamental challenge in facility location. Given a set of demand points, the goal is to place $k$ service centers to minimize the maximum distance from any demand point to its nearest center. This paper addresses the weighted version of the problem on a tree $T$ with $n$ vertices, where centers can be placed continuously along edges. For over 30 years, the best-known complexity was $O(n \log^2 n)$, achieved via Cole’s parametric search. This work presents the first $O(n \log n)$-time algorithm, settling a long-standing open problem proposed by Megiddo and Tamir in 1983.
Problem Definition
In the $k$-center problem on trees:
- Domain: The demand points are vertices of a tree $T$ with $n$ vertices.
- Weights: Each vertex $v$ has a non-negative weight $w(v)$. The objective is to minimize the maximum weighted distance $\max_{v \in V} w(v) \cdot d(v, C)$, where $C$ is the set of $k$ centers.
- Continuous Placement: Centers can be located anywhere on the tree's edges, not just at vertices.
Algorithmic Approach
The authors bypass the computationally expensive parametric search by combining several advanced techniques into a streamlined three-phase scheme.
Stem-Partitioning
The algorithm decomposes the tree into "stems"—paths with small attached structures called "thorns" and "twigs." This reduces the complex tree geometry into a series of sub-problems that behave more like linear arrangements.
Sub-linear Feasibility Testing
A core component is a "feasibility test" that determines if a given radius $\lambda$ is sufficient to cover all vertices with $k$ centers. While a standard test takes $O(n)$ time, the authors develop a sub-linear time test by preprocessing the tree's stems. This allows for faster evaluation of potential optimal radii.
Geometric Queries and Matrix Searching
To speed up the algorithm's engine, the authors utilize 2D sublist Linear Programming (LP) queries and line arrangement searching. These tools allow them to find the "lowest point" in a set of intersecting half-planes efficiently. Additionally, a specialized matrix searching technique (MSEARCH) is used to prune the space of potential optimal solutions.
Key Insights
The primary breakthrough is the realization that Cole’s parametric search—notorious for its implementation difficulty and large constant factors—is not mandatory for an $O(n \log n)$ solution. By focusing on making the feasibility test faster and reducing the problem size strategically through stem-partitioning, the authors eliminate the $O(\log^2 n)$ bottleneck. Furthermore, treating parts of the tree as 2D geometric problems allows the application of powerful tools from computational geometry, such as rank-based pruning to manage complexity as the algorithm progresses.
Results
The algorithm achieves an optimal time complexity of $O(n \log n)$ for the continuous $k$-center problem on trees. Notably, the authors demonstrate that their techniques also solve the discrete case (where centers must be at vertices) in the same time bound, improving upon the previous $O(n \log^2 n)$ benchmark.
Conclusion and Limitations
While the paper achieves a theoretical milestone, the algorithm's implementation remains complex. It requires sophisticated data structures like 2D sublist LP query structures and line arrangement searchers, making it a non-trivial engineering task. Future research may explore if similar improvements are possible for other restricted graph classes beyond trees.
Summary updated