Minimum Star Partitions of Simple Polygons in Polynomial Time

Mikkel Abrahamsen, Joakim Blikstad, André Nusser, Hanwen Zhang · DOI · OpenReview

Introduction

Computational geometry has long grappled with the problem of decomposing complex shapes into simpler, more manageable components. One of the most enduring challenges, open for over four decades, is the Minimum Star Partition problem. A polygon is considered star-shaped if it contains at least one point—a "star center"—from which every other point in the polygon is visible. The goal is to partition a simple polygon $P$ into the minimum number of such star-shaped pieces.

While a solution for partitions without Steiner points (extra vertices added to cuts) was found in the 1980s, the general problem allowing Steiner points remained elusive. This paper presents a breakthrough: a polynomial-time algorithm that finally resolves this 40-year-old puzzle, a problem highlighted in O'Rourke's seminal 1987 book, Art Gallery Theorems and Algorithms.

Partitioning vs. Covering

A crucial distinction in this field is between partitioning and covering. The Art Gallery Problem asks for the minimum number of guards (star centers) to cover a polygon, allowing the visible regions to overlap. Surprisingly, the covering version was recently shown to be $\exists\mathbb{R}$-complete, placing it likely outside the class NP.

In contrast, partitioning requires the pieces to be disjoint. This requirement for a rigid structure, while seemingly more restrictive, actually makes the problem more tractable. The authors prove that the Minimum Star Partition problem belongs to the complexity class P, a stark contrast to the likely "impossible" covering variant. The use of Steiner points is critical here; they can reduce the number of pieces needed from $O(n)$ to a constant in certain "spike" polygons.

Star partitions of complex "gadget" polygons illustrating the necessity and placement of Steiner points.

Methodology: Discretizing the Search Space

The primary difficulty in allowing Steiner points is that they could theoretically be placed anywhere, creating an infinite search space. The authors overcome this through a sophisticated discretization process:

  1. Structural Characterization (The "Tripod"): They identified a geometric structure called a tripod, where three star-shaped pieces meet at a single point. These tripods create complex dependencies between different parts of the partition, constrained by the polygon's concave corners.
  2. Candidate Sets: By analyzing "extreme" valid partitions (those maximizing coordinates or area), the authors demonstrated that all necessary star centers and Steiner points must lie on the intersections of a finite set of $O(n^6)$ lines derived from the polygon's vertices.
  3. Dynamic Programming: With a finite set of candidates, the authors developed a massive dynamic programming algorithm. It uses "separators"—cuts consisting of two or four segments—to recursively break the polygon into independent sub-problems that can be solved without getting stuck in cyclic dependencies.
Diagrams illustrating the geometric dependencies and visibility beams used to define candidate points and separators.

Key Results and Theoretical Significance

The main result is an algorithm with a time complexity of $O(n^{105})$. While this exponent is far too high for practical applications like CNC pocket milling or motion planning, its existence is a major theoretical milestone. It formally moves the Minimum Star Partition problem into the class P, resolving a question open since 1981. Furthermore, the authors proved that the coordinates of the Steiner points can be represented using a polynomial number of bits, ensuring the problem is truly polynomial in the standard RAM model.

Future Directions

The resolution of the 2D case opens several new avenues for research. The problem remains open for 3D polyhedra, which are expected to be significantly more complex. Furthermore, now that the problem is known to be in P, the search begins for more efficient algorithms—the authors believe the exponent could potentially be reduced to $\approx 50$—and practical approximation methods for real-world geometric processing.

Summary updated

Abstract

We devise a polynomial-time algorithm for partitioning a simple polygon $P$ into a minimum number of star-shaped polygons. The question of whether such an algorithm exists has been open for more than four decades [Avis and Toussaint, Pattern Recognit., 1981] and it has been repeated frequently, for example in O'Rourke's famous book [Art Gallery Theorems and Algorithms, 1987]. In addition to its strong theoretical motivation, the problem is also motivated by practical domains such as CNC pocket milling, motion planning, and shape parameterization. The only previously known algorithm for a non-trivial special case is for $P$ being both monotone and rectilinear [Liu and Ntafos, Algorithmica, 1991]. For general polygons, an algorithm was only known for the restricted version in which Steiner points are disallowed [Keil, SIAM J. Comput., 1985], meaning that each corner of a piece in the partition must also be a corner of $P$. Interestingly, the solution size for the restricted version may be linear for instances where the unrestricted solution has constant size. The covering variant in which the pieces are star-shaped but allowed to overlap--known as the Art Gallery Problem--was recently shown to be $\exists\mathbb R$-complete and is thus likely not in NP [Abrahamsen, Adamaszek and Miltzow, STOC 2018 & J. ACM 2022]; this is in stark contrast to our result. Arguably the most related work to ours is the polynomial-time algorithm to partition a simple polygon into a minimum number of convex pieces by Chazelle and Dobkin~[STOC, 1979 & Comp. Geom., 1985].
BibTeX
@inproceedings{abrahamsen2024minimum,
  author = {Mikkel Abrahamsen and Joakim Blikstad and André Nusser and Hanwen Zhang},
  title = {{Minimum Star Partitions of Simple Polygons in Polynomial Time}},
  booktitle = {STOC},
  year = {2024},
  doi = {10.1145/3618260.3649756},
}
Figure