Line Cover and Related Problems
Abstract
We study extensions of the classic Line Cover problem, which asks whether a set of n points in the plane can be covered using k lines. Line Cover is known to be NP-hard, and we focus on two natural generalizations. The first is Line Clustering, where the goal is to find k lines minimizing the sum of squared distances from the input points to their nearest line. The second is Hyperplane Cover, which asks whether n points in Rd can be covered by k hyperplanes. We also study the more general Projective Clustering problem, which unifies both settings and has applications in machine learning, data analysis, and computational geometry. In this problem, one seeks k affine subspaces of dimension r that minimize the sum of squared distances from the given points in Rd to the nearest subspace. Our results reveal notable differences in the parameterized complexity of these problems. While Line Cover is fixed-parameter tractable when parameterized by k, we show that Line Clustering is W[1]-hard with respect to k and does not admit an algorithm with running time no(k) unless the Exponential Time Hypothesis fails. Hyperplane Cover has been known to be NP-hard since the 1980s, following work of Megiddo and Tamir, even for d=2, we show that it remains NP-hard even when k=2. Finally, we present an algorithm for Projective Clustering running in nO(dk(r+1)) time. This bound matches our lower bound for Line Clustering and generalizes the classic algorithm for k-Means Clustering (r=0) by Inaba, Katoh, and Imai [SoCG 1994].
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.