arXiv Science⌕ Search

arXiv subjects

Guilherme D. da Fonseca

Publications and source records attributed to Guilherme D. da Fonseca.

At least 19 recordsLinked to original sources

Approximate Minimum Triangle Partitions

Let $ρ(P)$ be the minimum number of triangles in a partition of a simple polygon $P$ with $n$ vertices where triangle corners may be arbitrary points (Steiner points). It is not known whether $ρ(P)$ can be computed in polynomial time. We do not assume general position: when vertices of $P$ are collinear, a triangle side may pass through several vertices, and good partitions exploit this. Every vertex of $P$ is a corner of some triangle of every partition, so $ρ(P) \ge n/3$, and any triangulation, with $n-2$ triangles, is a 3-approximation that can be computed in $O(n)$ time. This is the best factor known. We improve it in two steps. First, let $ρ_0(P)$ be the minimum number of triangles over partitions whose corners are all vertices of $P$, which can be computed in $O(n^3)$ time (Asano, Asano, and Pinter, 1986). We prove that $ρ_0(P) \le 2ρ(P)-2$ unless $P$ is a triangle, which is tight. Thus Steiner points save at most half of the triangles and $ρ_0(P)$ is a 2-approximation, computed in $O(n^3)$ time. Second, we break the factor-2 barrier of Steiner-free partitions. We observe that $ρ_0(P)$ is close to $2ρ(P)$ only if optimal partitions have few Steiner points, each with many triangles around it. We handle this case by a dynamic program over partitions in which every Steiner point in the interior of $P$ is joined to a vertex of $P$ by a straight run of triangle sides, giving a 5/3-approximation in $O(n^{12})$ time.

cs.CG↗

Centerpoints with Few Radon Points

A point $z\in\mathbf{R}^d$ is a $β$-centerpoint of an $n$-point set $P\subset\mathbf{R}^d$ if every closed halfspace containing $z$ contains at least $βn$ points of~$P$. Iterated Radon points yield an $Ω(1/d^2)$-centerpoint in $\tilde{O}(d^9)$ time: each round replaces a population by Radon points of random $(d+2)$-tuples. Har-Peled and Jones improved the running time to $\tilde{O}(d^7)$. The known analyses certify that \emph{every} point of the population is central. We show that $O(\log^2 d)$ rounds of Radon computations suffice if a \emph{single} Radon point of the last round is output. The analysis tracks, for every $k$, the probability that $k$ random points of a round lie in a common ``bad'' halfspace, so the union bound over halfspaces is taken only once, for the input sample. For points in general position and constant $\varepsilon>0$, a $\frac{1-\varepsilon}{4(d+1)(d+2)}$-centerpoint is computed with constant probability using $O(d^3\log^3 d)$ Radon computations, in $O(d^{3+ω}\log^3 d)\subseteq O(d^{5.372})$ time ($ω$: matrix multiplication exponent), or $O(d^6\log^3 d)$ time with Gaussian elimination. The algorithm uses only linear algebra; among strongly polynomial algorithms for centerpoints of quality $1/\mathrm{poly}(d)$ it is the fastest known. For integer input, grid rounding keeps all points polynomially long and still yields an exact centerpoint. Dutta and Pisula obtained quality $Ω(1/(d\log d\log\log d))$ in weakly polynomial time by solving $\tilde{O}(d^3)$ linear programs, using Tverberg points with $Θ(\log d)$ parts instead of Radon points. Our analysis extends to rounds of such Tverberg points: for inputs of more than $\tilde{O}(d)$ points, it gives the same quality from $O(d^2\log^4 d\log\log d)$ linear programs in expectation.

cs.CG↗

A 2.05-Approximation for Unit Disk Graph Coloring

The best known approximation ratio for coloring unit disk graphs has been $3$ since the early 1990s. It comes from a left-to-right sweep, in which the earlier neighbors of a vertex are covered by three cliques. We give a randomized polynomial-time algorithm that, given the points, colors every unit disk graph $G$ with at most $2.05\,χ(G)$ colors. The algorithm first approximately solves the LP for the fractional chromatic number $χ_f$. If $χ_f$ is large, it samples color classes from the LP solution independently in each cell of a coarse grid and colors the remaining vertices with the sweep, reusing a sampled color whenever no neighbor has it. This refines the Round-and-Approx scheme of Bansal, Caprara, and Sviridenko; the new ingredient is locality: a bounded-differences inequality combined with the constructive Lovász Local Lemma controls all residual cliques simultaneously. If $χ_f$ is small, then so is the clique number, and dynamic programming provides good approximations. Our techniques also improve the best known approximation ratios for intersection graphs of translates of a convex polygon, from $3$ to $2.05$, and for unit square graphs, from $2$ to $1.68$.

cs.CG↗

Quadratic Reconfiguration of Plane Spanning Paths on Two-Layer Point Sets

Consider a crossing-free polygonal path with $n$ vertices and a flip operation that removes an edge and adds another one, without changing the vertex set and keeping the path crossing free. It is conjectured that any two such paths can be transformed into each other by a sequence of flips. Recently, Kleist et al. (2024) proved the conjecture for the special cases of vertices arranged in two convex layers. However, the number of flips in their proof may be exponential. In this paper, we show that $O(n^2)$ flips suffice. More precisely, for a two-layer point set $S=L_0\cup L_1$, where $L_0$ and $L_1$ denote the outer and inner layers, respectively, our method uses $O(|L_0|+|L_1|^2)$ flips.

cs.CG↗

Certified Small Well-Separated Pair Decompositions in Practice

Given n points and $ε>0$, a well-separated pair decomposition (WSPD) is a collection of dumbbells {X,Y}, where X and Y have diameter at most $ε$ times their distance, such that every pair of points has one point in X and the other in Y for some dumbbell. A partition WSPD covers every pair exactly once, and a cover WSPD at least once. Callahan and Kosaraju give a partition WSPD with $O(n/ε^d)$ dumbbells in $R^d$, but many point sets have far smaller WSPDs of both kinds. For $d\ge2$, the known $O(1)$-approximations of the minimum size WSPD that preserve the separation $ε$ have unspecified factors, above $10^7$ for $d=2$ by our estimates. For cover WSPDs, we give an $O(n^2\log n)$-time sweep approximation algorithm with a factor 40 in the plane for $ε\le1/16$. It extends to $R^d$ with a factor $2^{O(d)}$. The sweep is also a lower-bound tool: its number of steps is a lower bound on the WSPD size. For partition WSPDs, we analyze quadtree and fair split tree constructions: in the plane and for $ε\le1/5$, they give constant approximation factors, the smallest of which is 252 for a randomly shifted and scaled quadtree. In experiments with $ε=1/20$, the number of sweep steps is at least 0.91 OPT for n = 500, where the optimum OPT is known, and a local search raises it to a lower bound of 0.99 OPT. A greedy variant of the sweep, which is still a certified 40-approximation, is at most 1.28 times the lower bound for n = 10000. Followed by a new local-search heuristic that shrinks the WSPD, it is within 0.02% of the optimum on every instance with n = 500, and at most 1.10 times the lower bound for n = 10000. We then show how to convert the cover WSPDs into partition WSPDs. For n = 10000, the conversion gives on average 1.13 times the lower bound, against 1.05 for the cover WSPD itself and 1.55 for the Callahan-Kosaraju partition WSPD.

cs.CG↗

A Bicriteria Approximation Scheme for the Minimum Well-Separated Pair Decomposition

A well-separated pair decomposition (WSPD) of a set $P$ of $n$ points covers all $\binom{n}{2}$ pairs of points by a family of dumbbells $\{X,Y\}$, each covering the pairs of $X\times Y$, such that the diameters of $X$ and $Y$ are at most an $\varepsilon$-fraction of their distance. In $\mathbb{R}^d$, WSPDs with $O(n/\varepsilon^d)$ dumbbells always exist, but many inputs admit much smaller ones. However, computing a WSPD of minimum size is NP-hard in the plane. For $d\ge2$, the only known approximation that preserves the separation has a factor of $2^{O(d)}$, and Buchin et al. (ESA 2026) asked whether a $(1+δ)$-approximation exists. We give a bicriteria approximation scheme: for fixed $d$ and $δ\in(0,1]$, we compute in $f(d,δ)\cdot n^{6}$ time a $(1+δ)\varepsilon$-WSPD whose size is at most $(1+δ)$ times the minimum size of an $\varepsilon$-WSPD. The same holds in metric spaces of bounded doubling dimension. The algorithm combines shifting over scales with the local-growth technique of Nieberg, Hurink, and Kern, applied to a graph whose vertices are the pairs of points. In contrast, we show that in general metric spaces, relaxing the separation by a factor below $2$ keeps the problem hard: for every fixed rational $\varepsilon\le1/4$, it is NP-hard to compute such a relaxed WSPD whose size is within a factor $n^c$ of the minimum, for every $c<2/3$.

cs.CG↗

Shadoks Approach to Parallel Reconfiguration of Triangulations

We describe the methods used by Team Shadoks to win the CG:SHOP 2026 Challenge on parallel reconfiguration of planar triangulations. An instance is a collection of triangulations of a common point set. We must select a center triangulation and find short parallel-flip paths from each input triangulation to the center, minimizing the sum of path lengths. Our approach combines exact methods based on SAT with several greedy heuristics, and also makes use of SAT and MaxSAT for solution improvement. We present a SAT encoding for bounded-length paths and a global formulation for fixed path-length vectors. We discuss how these components interact in practice and summarize the performance of our solvers on the benchmark instances.

cs.CG↗

Shadoks Approach to Knapsack Polygonal Packing

The 2024 edition of the CG:SHOP Challenge focused on the knapsack polygonal packing problem. Each instance consists of a convex polygon known as the container and a multiset of items, where each item is a simple polygon with an associated integer value. A feasible packing solution places a selection of the items inside the container without overlapping and using only translations. The goal is to achieve a packing that maximizes the total value of the items in the solution. Our approach to win first place is divided into two main steps. First, we generate promising initial solutions using two strategies: one based on integer linear programming and the other on employing a combination of geometric greedy heuristics. In the second step, we enhance these solutions through local search techniques, which involve repositioning items and exploring potential replacements to improve the total value of the packing.

cs.CG↗

Optimal Area-Sensitive Bounds for Polytope Approximation

Approximating convex bodies is a fundamental problem in geometry. Given a convex body $K$ in $\mathbb{R}^d$ for a fixed dimension $d$, the objective is to minimize the number of facets of an approximating polytope for a given Hausdorff error $\varepsilon$. The best known uniform bound, due to Dudley (1974), shows that $O((\text{diam}(K)/\varepsilon)^{(d-1)/2})$ facets suffice. Although this bound is optimal for fat objects, such as Euclidean balls, it is far from optimal for ``skinny'' convex bodies. Skinniness can be characterized relative to the Euclidean ball. Given a convex body $K$, define its area radius, $\text{arad}(K)$, to be the radius of the Euclidean ball having the same surface area as $K$. It follows from generalizations of the isoperimetric inequality that $\text{diam}(K) \geq 2 \cdot \text{arad}(K)$. We show that, given a convex body whose minimum width is at least $\varepsilon$, it is possible to approximate the body by a polytope having $O((\text{arad}(K)/\varepsilon)^{(d-1)/2})$ facets. Our approach works by first reducing the problem of approximating convex bodies to that of approximating convex functions. We employ a classical concept from convexity, called Macbeath regions. We demonstrate that there is a polar relationship between the Macbeath regions of a function and the Macbeath regions of its Legendre dual. This is combined with known bounds on the Mahler volume to bound the total size of the approximation.

cs.CG↗

Convex Covering Using Collections of Convex Polygons and Set Cover

In the convex covering problem, we are given a convex polygon with holes $P$ and the goal is to cover $P$ using a small number of convex polygons that lie inside $P$. In this paper, we solve the problem using the following strategy. We find a big collection of large (often maximal) convex polygons inside $P$ and then solve several set cover problems to find a small subset of the collection that covers the whole polygon. The quality of our heuristics is confirmed by winning the second place in the CG:SHOP 2023 Challenge.

cs.CG↗

Untangling Segments in the Plane

A set of n segments in the plane may form a Euclidean TSP tour, a tree, or a matching, among others. Optimal TSP tours as well as minimum spanning trees and perfect matchings have no crossing segments, but several heuristics and approximation algorithms may produce solutions with crossings. If two segments cross, then we can reduce the total length with the following flip operation. We remove a pair of crossing segments, and insert a pair of non-crossing segments, while keeping the same vertex degrees. In this paper, we consider the number of flips performed under different assumptions, using a new unifying framework that applies to tours, trees, matchings, and other types of (multi)graphs. Within this framework, we prove several new bounds that are sensitive to whether some endpoints are in convex position or not.

cs.CG↗

Further Connectivity Results on Plane Spanning Path Reconfiguration

Given a finite set $ S $ of points, we consider the following reconfiguration graph. The vertices are the plane spanning paths of $ S $ and there is an edge between two vertices if the two corresponding paths differ by two edges (one removed, one added). Since 2007, this graph is conjectured to be connected but no proof has been found. In this paper, we prove several results to support the conjecture. Mainly, we show that if all but one point of $ S $ are in convex position, then the graph is connected with diameter at most $ 2 | S | $ and that for $ | S | \geq 3 $ every connected component has at least $ 3 $ vertices.

cs.CG↗

Short Flip Sequences to Untangle Segments in the Plane

A (multi)set of segments in the plane may form a TSP tour, a matching, a tree, or any multigraph. If two segments cross, then we can reduce the total length with the following flip operation. We remove a pair of crossing segments, and insert a pair of non-crossing segments, while keeping the same vertex degrees. The goal of this paper is to devise efficient strategies to flip the segments in order to obtain crossing-free segments after a small number of flips. Linear and near-linear bounds on the number of flips were only known for segments with endpoints in convex position. We generalize these results, proving linear and near-linear bounds for cases with endpoints that are not in convex position. Our results are proved in a general setting that applies to multiple problems, using multigraphs and the distinction between removal and insertion choices when performing a flip.

cs.CG↗

Approximate Nearest Neighbor Searching with Non-Euclidean and Weighted Distances

We present a new approach to approximate nearest-neighbor queries in fixed dimension under a variety of non-Euclidean distances. We are given a set $S$ of $n$ points in $\mathbb{R}^d$, an approximation parameter $\varepsilon > 0$, and a distance function that satisfies certain smoothness and growth-rate assumptions. The objective is to preprocess $S$ into a data structure so that for any query point $q$ in $\mathbb{R}^d$, it is possible to efficiently report any point of $S$ whose distance from $q$ is within a factor of $1+\varepsilon$ of the actual closest point. Prior to this work, the most efficient data structures for approximate nearest-neighbor searching in spaces of constant dimensionality applied only to the Euclidean metric. This paper overcomes this limitation through a method called convexification. For admissible distance functions, the proposed data structures answer queries in logarithmic time using $O(n \log (1 / \varepsilon) / \varepsilon^{d/2})$ space, nearly matching the best known bounds for the Euclidean metric. These results apply to both convex scaling distance functions (including the Mahalanobis distance and weighted Minkowski metrics) and Bregman divergences (including the Kullback-Leibler divergence and the Itakura-Saito distance).

cs.CG↗

Conflict Optimization for Binary CSP Applied to Minimum Partition into Plane Subgraphs and Graph Coloring

CG:SHOP is an annual geometric optimization challenge and the 2022 edition proposed the problem of coloring a certain geometric graph defined by line segments. Surprisingly, the top three teams used the same technique, called conflict optimization. This technique has been introduced in the 2021 edition of the challenge, to solve a coordinated motion planning problem. In this paper, we present the technique in the more general framework of binary constraint satisfaction problems (binary CSP). Then, the top three teams describe their different implementations of the same underlying strategy. We evaluate the performance of those implementations to vertex color not only geometric graphs, but also other types of graphs.

cs.CG↗

On the Longest Flip Sequence to Untangle Segments in the Plane

A set of segments in the plane may form a Euclidean TSP tour or a matching, among others. Optimal TSP tours as well as minimum weight perfect matchings have no crossing segments, but several heuristics and approximation algorithms may produce solutions with crossings. To improve such solutions, we can successively apply a flip operation that replaces a pair of crossing segments by non-crossing ones. This paper considers the maximum number D(n) of flips performed on n segments. First, we present reductions relating D(n) for different sets of segments (TSP tours, monochromatic matchings, red-blue matchings, and multigraphs). Second, we show that if all except t points are in convex position, then D(n) = O(tn^2), providing a smooth transition between the convex O(n^2) bound and the general O(n^3) bound. Last, we show that if instead of counting the total number of flips, we only count the number of distinct flips, then the cubic upper bound improves to O(n^{8/3}).

cs.CG↗

Economical Convex Coverings and Applications

Coverings of convex bodies have emerged as a central component in the design of efficient solutions to approximation problems involving convex bodies. Intuitively, given a convex body $K$ and $ε> 0$, a covering is a collection of convex bodies whose union covers $K$ such that a constant factor expansion of each body lies within an $ε$ expansion of $K$. Coverings have been employed in many applications, such as approximations for diameter, width, and $ε$-kernels of point sets, approximate nearest neighbor searching, polytope approximations, and approximations to the Closest Vector Problem (CVP). It is known how to construct coverings of size $n^{O(n)} / ε^{(n-1)/2}$ for general convex bodies in $\textbf{R}^n$. In special cases, such as when the convex body is the $\ell_p$ unit ball, this bound has been improved to $2^{O(n)} / ε^{(n-1)/2}$. This raises the question of whether such a bound generally holds. In this paper we answer the question in the affirmative. We demonstrate the power and versatility of our coverings by applying them to the problem of approximating a convex body by a polytope, under the Banach-Mazur metric. Given a well-centered convex body $K$ and an approximation parameter $ε> 0$, we show that there exists a polytope $P$ consisting of $2^{O(n)} / ε^{(n-1)/2}$ vertices (facets) such that $K \subset P \subset K(1+ε)$. This bound is optimal in the worst case up to factors of $2^{O(n)}$. As an additional consequence, we obtain the fastest $(1+ε)$-approximate CVP algorithm that works in any norm, with a running time of $2^{O(n)} / ε^{(n-1)/2}$ up to polynomial factors in the input size, and we obtain the fastest $(1+ε)$-approximation algorithm for integer programming. We also present a framework for constructing coverings of optimal size for any convex body (up to factors of $2^{O(n)}$).

cs.CG↗

Complexity Results on Untangling Red-Blue Matchings

Given a matching between n red points and n blue points by line segments in the plane, we consider the problem of obtaining a crossing-free matching through flip operations that replace two crossing segments by two non-crossing ones. We first show that (i) it is NP-hard to alpha-approximate the shortest flip sequence, for any constant alpha. Second, we show that when the red points are colinear, (ii) given a matching, a flip sequence of length at most n(n-1)/2 always exists, and (iii) the number of flips in any sequence never exceeds (n(n-1)/2) (n+4)/6. Finally, we present (iv) a lower bounding flip sequence with roughly 1.5 n(n-1)/2 flips, which shows that the n(n-1)/2 flips attained in the convex case are not the maximum, and (v) a convex matching from which any flip sequence has roughly 1.5 n flips. The last four results, based on novel analyses, improve the constants of state-of-the-art bounds.

cs.CG↗