Polygon Area Decomposition Using a Compactness Metric

Mariusz Wzorek, Cyrille Berger, Patrick DohertyarXiv 2021

TL;DR

This paper introduces the AreaDecompose algorithm to partition complex polygons into sub-regions of specific sizes while maximizing their geometric compactness. By optimizing for shape compactness alongside area constraints, the approach generates sub-regions that significantly improve the efficiency of robotic terrain coverage tasks, reducing path lengths and robot turns by up to 73% compared to existing methods.

What Problem Does This Paper Address?

In collaborative robotics, tasks like aerial mapping, search and rescue, or agricultural monitoring require a fleet of robots to efficiently cover a defined terrain. To do this effectively, the target area (represented as a polygon) must be divided into sub-regions tailored to each robot's specific capabilities, such as battery life or sensor range.

Traditional polygon decomposition algorithms focus entirely on satisfying strict area size constraints. However, they ignore the shape of the resulting regions, often producing long, skinny, or highly irregular sub-polygons. As illustrated in Figure 1, a robot covering a sprawling, triangular sub-region ($P_1$ on the left) must execute far more turns and fly a longer path than a robot covering a compact, rectangular sub-region ($P_1$ on the right), even though both regions have the exact same area.

Fig. 1. Terrain coverage examples.

This paper addresses the gap by incorporating a compactness metric directly into the area partitioning problem, balancing size accuracy with navigation-friendly shapes.

Methods

The authors propose a new algorithmic framework called AreaDecompose. To make the infinite continuous space of polygon partitioning computationally tractable, they discretize the problem using two core concepts:

  1. Grid Cell Discretization: The original polygon is divided into a finite set of uniform grid cells.
  2. Potential Field Model: Each target sub-polygon is represented as an attractive potential field centered at a specific coordinate with a defined radius (representing its attractive force). Grid cells are assigned to a sub-polygon based on which potential field exerts the strongest relative force.

To find the optimal center and radius configurations, the authors evaluate five optimization strategies. These include a custom-designed Potential Field Heuristic (PFH), standard evolutionary strategies like CMA-ES, Random Search (RS), and hybrid combinations (e.g., using PFH to find a strong initial solution, then refining it with CMA-ES).

Because grid cell assignment naturally creates jagged, "zigzag" boundaries, the method includes two vital post-processing steps:

  • Rebalancing Partitions: A heuristic that resolves disconnected cell clusters and shifts cells between adjacent regions to minimize area allocation errors.
  • Polyline Simplification: A boundary-smoothing technique that uses Green's theorem and gradient descent to replace jagged grid edges with clean, minimal-vertex polylines while strictly preserving the sub-regions' areas.

Datasets

The algorithm was evaluated using two distinct datasets:

  • Synthetic Non-Convex Polygon Benchmark: A newly generated dataset consisting of 200 complex, non-convex polygons. The algorithm was tested across 5 distinct problem cases, varying the number of desired sub-partitions (from 2 to 9) and utilizing both equal and randomized area weights.
  • Real-World GIS Data (New York State): To demonstrate the algorithm's versatility beyond robotics, the authors applied it to a political redistricting problem using a spatial population density map of New York State, aiming to draw four compact districts of equal population.

Key Insights and Ideas

  • The Non-Convexity Paradox: For complex, non-convex shapes, partitioning the terrain into more sub-regions actually increases the average compactness score. When a polygon is split into only two or three pieces, the sub-regions are forced to absorb the awkward, sprawling geometry of the original outer boundary. Finer partitioning allows sub-regions to settle into more compact, circular, or rectangular shapes.
  • Heuristic-Optimization Synergy: Pure global optimization techniques (like CMA-ES or Random Search) struggle when initialized blindly, often getting trapped in poor local minima. However, using the domain-specific Potential Field Heuristic (PFH) to generate an initial layout provides an excellent starting point for CMA-ES to fine-tune, yielding highly accurate and compact results.

Key Results

  • Massive Compactness Gains: On average, the AreaDecompose algorithm generated sub-regions up to 73% more compact than the state-of-the-art Hert & Lumelsky baseline. In complex scenarios requiring 9 sub-partitions, the proposed PFH-CMAES hybrid outperformed the baseline's compactness by 258%.
  • Strict Accuracy Control: Despite the approximations inherent in grid discretization, the post-processing rebalancing kept area size errors remarkably low—averaging just 0.23% when using a strict 1% tolerance configuration.
  • Computational Viability: The standalone PFH configuration proved incredibly fast, computing solutions in 4.1 ms to 7.3 ms (outperforming the baseline's 9.2 ms). The more robust PFH-CMAES hybrid required around 168 ms for a 1% tolerance setup, which remains well within acceptable limits for practical robotic mission planning.

Limitations and Future Work

While the polyline simplification successfully smooths out jagged grid borders, the exact mathematical relationship between the simplification distance threshold and the final compactness score warrants deeper investigation. The authors note that future work will focus on determining whether the simplification step itself can be actively integrated into the optimization loop to simultaneously reduce area errors and enhance shape compactness.

Summary updated

BibTeX
@misc{wzorek2021polygon,
  author = {Mariusz Wzorek and Cyrille Berger and Patrick Doherty},
  title = {{Polygon Area Decomposition Using a Compactness Metric}},
  year = {2021},
  eprint = {2110.04043},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2110.04043},
}
Figure