Skip to main content
QUICK REVIEW

[Paper Review] Efficient Algorithms for One-Dimensional k-Center Problems

Danny Z. Chen, Jian Li|arXiv (Cornell University)|Jan 31, 2013
Facility Location and Emergency ManagementBusiness, Management and Accounting19 references5 citations
TL;DR

This paper presents a simple, deterministic $O(n\log n)$ algorithm for the one-dimensional weighted $k$-center problem without relying on Cole's complex parametric search. It introduces an efficient data structure for 2-D sublist LP queries—finding the lowest point in the intersection of half-planes—enabling linear-time solutions when input points and weights are sorted, particularly for small $k$. The approach improves upon prior methods by avoiding theoretical complexity while maintaining optimal asymptotic performance.

ABSTRACT

We consider the problem of finding k centers for n weighted points on a real line. This (weighted) k-center problem was solved in O(n log n) time previously by using Cole's parametric search and other complicated approaches. In this paper, we present an easier O(n log n) time algorithm that avoids the parametric search, and in certain special cases our algorithm solves the problem in O(n) time. In addition, our techniques involve developing interesting data structures for processing queries that find a lowest point in the common intersection of a certain subset of half-planes. This subproblem is interesting in its own right and our solution for it may find other applications as well.

Motivation & Objective

  • To develop a simpler, deterministic $O(n\log n)$ algorithm for the one-dimensional weighted $k$-center problem without using Cole's parametric search.
  • To address the computational bottleneck of prior approaches that rely on complex parametric search techniques.
  • To design an efficient data structure for 2-D sublist LP queries—finding the lowest point in the common intersection of a subset of half-planes—applicable to geometric optimization.
  • To achieve linear-time performance in special cases where input points and weights are already sorted, particularly for small $k$.
  • To provide a practical and theoretically efficient solution that improves upon existing methods in both simplicity and performance for specific input distributions.

Proposed method

  • Model the 1D $k$-center problem as a geometric points approximation problem using step function fitting in the plane.
  • Reduce the problem to answering 2-D sublist LP queries: finding the lowest point in the intersection of a subset of upper half-planes.
  • Construct a data structure in $O(n\log n)$ time that supports each 2-D sublist LP query in $O\left(\log n\right)$ time.
  • Leverage duality to map half-plane slopes to point weights, enabling efficient query processing based on sorted weights and positions.
  • Use compact interval trees to represent convex hulls of query results, supporting standard convex hull operations in $O(\log n)$ time.
  • Optimize construction and query times when input points and weights are pre-sorted, achieving $O(n)$ time for small $k$.

Experimental results

Research questions

  • RQ1Can the one-dimensional weighted $k$-center problem be solved in $O(n\log n)$ time without using Cole's parametric search?
  • RQ2What is the optimal time complexity for solving the 1D $k$-center problem when input points and weights are already sorted?
  • RQ3Can a data structure be designed to efficiently answer 2-D sublist LP queries—finding the lowest point in the intersection of a subset of half-planes—enabling faster solutions to geometric optimization problems?
  • RQ4Is it possible to achieve linear-time performance for the 1D $k$-center problem in special cases, such as when $k = O(n^{1/2 - \epsilon})$?
  • RQ5Can the techniques developed for the 1D $k$-center problem be extended to more general structures, such as trees?

Key findings

  • The paper presents a deterministic $O(n\log n)$ algorithm for the one-dimensional weighted $k$-center problem that avoids Cole's parametric search, offering a simpler and more practical alternative to prior methods.
  • When input points and weights are sorted, the algorithm runs in $O(n + k^2 \log^2(n/k) \log n \log\log n)$ time, which becomes $O(n)$ for $k = O(n^{1/2 - \epsilon})$.
  • A new data structure is developed for 2-D sublist LP queries with $O(n\log n)$ construction time and $O(\log n)$ query time, supporting standard convex hull operations efficiently.
  • Three optimized data structures are provided for sorted inputs, with construction times of $O(n)$, $O(n\log^* n)$, and $O(n\log\log n)$, and corresponding query times of $O(\log n \log\log n)$, $O(\log n \log^* n)$, and $O(\log n)$, respectively.
  • The approach achieves a linear-time solution for the 1D $k$-center problem when $k$ is small relative to $n$, such as $k = O((n / \log^3 n \log\log n)^{1/2})$, under sorted input conditions.
  • The paper establishes an $O(n\log n)$ time lower bound for the non-discrete unweighted 1D $k$-center problem via reduction from the Min Gap problem, validating the optimality of the proposed algorithm.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.