Abstract
The Partition Spanning Forest Problem asks whether a set of colored points in the Euclidean plane can be connected into individual trees by color class such that no two edges intersect. This paper identifies a sharp complexity phase transition: the problem is solvable in $O(n^2)$ time for color classes of size at most three, but becomes NP-complete for classes of size five or more.
Introduction
In computational geometry, finding crossing-free connections between points is a classic challenge with applications in VLSI design, motion planning, and graph drawing. While constructing a single spanning tree for a set of points is trivial, the problem becomes significantly more complex when points are partitioned into $k$ distinct color classes $C_1, \dots, C_k$. The goal is to find a partition spanning forest: a collection of $k$ trees where each tree $T_i$ spans exactly the points in $C_i$, and no two edges in the entire forest cross.
Computational Complexity and Methodology
The authors investigate how the maximum size of color classes affects the problem's difficulty. Their findings reveal a transition from polynomial-time tractability to NP-completeness based on the number of points per class.
The Tractable Case: Size $\le 3$
When color classes are restricted to at most three points, the number of possible spanning trees for each class is extremely limited (at most three). This allows the problem to be reduced to a 2-Satisfiability (2-SAT) instance. Geometric intersections between potential edges are modeled as logical constraints. For example, if edge $e_1$ from class $C_i$ crosses edge $e_2$ from class $C_j$, a 2-SAT clause ensures that both cannot be selected simultaneously.
The Hard Case: Size $\ge 5$
For larger color classes, the problem is proven to be NP-complete via a reduction from Planar 3-Satisfiability. The authors design complex geometric gadgets—including variable, wire, and clause gadgets—composed of colored point sets. These gadgets simulate logical operations through the physical constraints of non-crossing edges.
Key Results
The research establishes several critical bounds for the complexity of constructing these forests:
- General Forests: Solvable in $O(n^2)$ for $|C_i| \le 3$; NP-complete for $|C_i| \ge 5$. The case for $|C_i| = 4$ remains an open question.
- Linear Forests: If every tree must be a path, the problem becomes NP-complete for $|C_i| \ge 4$. For $|C_i| \le 3$, it remains polynomial as any 3-point tree is inherently a path.
Conclusion and Future Work
This work clarifies the boundary of tractability for the partition spanning forest problem. The "Four-Point Gap" represents a significant remaining challenge in the field. Future research may also consider points not in general position, alternative geometric metrics, or higher-dimensional spaces.
Summary updated