paper

Nearest-Neighbor Decompositions of Drawings

arXiv:2209.02103

Abstract

Let be a set of straight-line segments in the plane, potentially crossing, and let be a positive integer. We denote by the union of the endpoints of the straight-line segments of and of the intersection points between pairs of segments. We say that has a nearest-neighbor decomposition into parts if we can partition into point sets such that is the union of the nearest neighbor graphs on . We show that it is NP-complete to decide whether can be drawn as the union of nearest-neighbor graphs, even when no two segments cross. We show that for , it is NP-complete in the general setting and polynomial-time solvable when no two segments cross. We show the existence of an -approximation algorithm running in subexponential time for partitioning into a minimum number of nearest-neighbor graphs. As a main tool in our analysis, we establish the notion of the conflict graph for a drawing . The vertices of the conflict graph are the connected components of , with the assumption that each connected component is the nearest neighbor graph of its vertices, and there is an edge between two components and if and only if the nearest neighbor graph of contains an edge between a vertex in and a vertex in . We show that string graphs are conflict graphs of certain planar drawings. For planar graphs and complete -partite graphs, we give additional, more efficient constructions. We furthermore show that there are subdivisions of non-planar graphs that are not conflict graphs. Lastly, we show a separator lemma for conflict graphs.

17 pages, 18 figures; a preliminary version appeared at SWAT 2022