,
David Eppstein,
Jan-Henrik Haunert
,
Herman Haverkort,
Benedikt Kolbe
,
Philip Mayer
,
Petra Mutzel
,
Alexander Naumann
,
Jonas Sauer
Creative Commons Attribution 4.0 International license
We study the problem of aggregating a set of polygons by covering them with disjoint representative regions, thereby inducing a clustering of the polygons. Equivalently, this can be seen as a fence enclosure problem, where the goal is to surround the polygons with a set of closed curves. Our objective is to minimize a weighted sum of the total area and the total perimeter of the regions, which naturally extends other fencing problems and has applications in geographical information systems. Previously, this objective was only studied in a restricted variant, in which the boundary curves of the regions must be selected from a fixed subdivision of the plane. It is natural to ask whether the problem is still tractable if this restriction is removed, allowing output regions to be bounded by arbitrary curves. We provide a positive answer in the form of an algorithm with runtime Õ(n⁴), where n is the number of input vertices. To achieve this, we fully characterize the optimal solutions by showing that their boundaries are composed of input edges and circular arcs of constant radius. Additionally, we consider the parametric problem, where for every weighting factor we seek a solution that is optimal for that trade-off of area and perimeter. We show that 𝒪 combinatorial solutions suffice to describe all optimal solutions across all weighting factors, and provide both an exact algorithm and an approximation scheme. To make the algorithms scalable in practice, we develop engineering techniques that exploit structural properties of the solutions. Our experimental evaluation on real-world data shows linear runtime in practice, even for the parametric variant.
@InProceedings{blank_et_al:LIPIcs.ESA.2026.11,
author = {Blank, Lotte and Eppstein, David and Haunert, Jan-Henrik and Haverkort, Herman and Kolbe, Benedikt and Mayer, Philip and Mutzel, Petra and Naumann, Alexander and Sauer, Jonas},
title = {{Bicriteria Polygon Aggregation with Arbitrary Shapes}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {11:1--11:23},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.11},
URN = {urn:nbn:de:0030-drops-271472},
doi = {10.4230/LIPIcs.ESA.2026.11},
annote = {Keywords: polygon aggregation, fencing, minimum-perimeter clustering, map generalization, urban analytics}
}
archived version