Papers
Topics
Authors
Recent
Search
2000 character limit reached

Realizing Planar Linkages in Polygonal Domains

Published 7 Apr 2026 in cs.CG | (2604.05786v1)

Abstract: A linkage L\mathcal{L} consists of a graph G=(V,E)G=(V,E) and an edge-length function ℓ\ell. Deciding whether L\mathcal{L} can be realized as a planar straight-line embedding in R<sup>2\mathbb{R}<sup>2 with edge length ℓ(e)\ell(e) for all e∈Ee \in E is ∃R\exists\mathbb{R}-complete [Abel et al., JoCG'25], even if ℓ≡1\ell \equiv 1, but a considerable part of L\mathcal{L} is rigid. In this paper, we study the computational complexity of the realization question for structurally simpler, less rigid linkages inside an open polygonal domain PP, where the placement of some vertices may be specified in the input. We show XP-membership and W[1]-hardness with respect to the size of GG, even if ℓ≡1\ell \equiv 1 and no vertex positions are prescribed. Furthermore, we consider the case where GG is a path with prescribed start and end position and ℓ≡1\ell \equiv 1. Despite the absence of any rigid components, we obtain NP-hardness in general, and provide a linear-time algorithm for arbitrary ℓ\ell if GG has only three edges and PP is convex.

Summary

  • The paper establishes that PLR is in XP by formulating the problem as an existential real algebra system with fixed parameters for vertex coordinates.
  • It proves W[1]-hardness and NP-hardness for unit-length and linear linkages, respectively, through reductions from GRID TILING and Planar Monotone 3-SAT.
  • A linear-time algorithm for three-edge linkages in convex domains demonstrates how domain geometry can simplify otherwise intractable configurations.

Realizing Planar Linkages in Polygonal Domains: Complexity and Algorithms

Problem Formulation and Context

The paper addresses the Planar Linkage Realizability (PLR) problem. Given a graph G=(V,E)G = (V, E) and a positive edge-length function ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+, a configuration is a straight-line drawing of GG in R2\mathbb{R}^2 where each edge has its prescribed length and no edges cross. In the setting examined here, the realization must further be fully contained within a specified open polygonal domain P⊂R2P \subset \mathbb{R}^2. The primary computational question is whether such a planar realization exists, possibly with fixed positions for a subset of vertices.

PLR generalizes classic linkage realizability within the plane (known to be ∃R\exists\mathbb{R}-complete even for unit-length edges [ADD+.Wnc.2025]) by incorporating environmental constraints via the domain PP. The primary motivation for this study is to understand how obstacles or domain geometry impact the tractability of geometric constraint systems, especially for combinatorially simpler but less rigid linkages, such as paths (linear linkages).

Main Complexity Results

XP-Membership with Respect to Graph Size

The first significant contribution is that PLR is in XP with respect to ∣V∣|V|, the size of the linkage graph, even when edge lengths are unrestricted. Specifically, the decision problem is expressible as an existential theory of the reals (∃R\exists\mathbb{R}) formula with a bounded number of variables (twice the number of vertices, encoding xx and ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+0 coordinates). Satisfiability of such polynomial systems can be decided in time ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+1 for ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+2 variables [GJ.SSP.1988]. The explicit formula construction enforces (1) prescribed vertex positions, (2) edge length constraints, (3) planarity (non-crossing edges) using determinants, and (4) containment of the drawing within ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+3. This establishes fixed-parameter tractability with parameter ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+4, but the running time is non-parameterized polynomial.

ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+5-Hardness Parameterized by Graph Size

The above upper bound is tight in a parameterized sense: the paper proves that PLR is W[1]-hard with respect to ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+6, even for unit-length linkages and polygonal domains with polynomial complexity. This is achieved via a parameterized reduction from GRID TILING, a canonical W[1]-hard problem [Cygan2015]. The reduction realizes the encoding of discrete choices into the position of linkage vertices constrained to small regions (grid squares with encoded tiles), leveraging geometric gadgets to simulate the grid tiling compatibility constraints. The construction demonstrates that no combinatorial parameterization (e.g., vertex count, even number of rigid components) leads to an FPT algorithm unless ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+7, settling the parameterized complexity of PLR for bounded-size linkages.

ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+8-Hardness for Linear Unit-Length Linkages

A central technical contribution is the demonstration that even for linear linkages (i.e., ℓ:E→R+\ell: E \rightarrow \mathbb{R}^+9 is a simple path) with unit-length edges, and with only the start and end positions constrained, PLR remains NP-hard. The reduction is from Planar Monotone 3-SAT [DBK.OBS.2012]. The construction carefully orchestrates a polygonal domain GG0 (possibly with holes) and a sequence of geometric gadgets representing variables, clauses, and edge connections. These gadgets enforce a one-to-one correspondence between realizable linkage configurations and truth assignments, ensuring that satisfying assignments to the logical formula correspond to collision-free, planar, edge-length respecting embeddings of the path from the prescribed start to end points.

Linear-Time Algorithm in Convex Domains for Three-Edge Linkages

Contrasting this hardness, the paper provides an GG1 linear-time algorithm for the case where GG2 is a path of length three (four vertices) and GG3 is a convex polygon with GG4 vertices. The key geometric insight is that such linkages have just one degree of freedom and the planarity and containment constraints can be checked efficiently by enumerating possible boundary contacts and testing feasibility, reducing verification to a finite set of geometric configurations. This result holds for arbitrary positive edge lengths.

Theoretical and Practical Implications

Parameterized and Classical Intractability

The establishment of both W[1]-hardness (for unit-length graphs) and NP-hardness (even for linear/unit-linkages with only terminal constraints) highlights the computational intractability of geometric constraint realization in the presence of obstacles. Importantly, the reduction shows that rigidity per se is not responsible for hardness; even completely flexible paths inherit computational complexity through their interaction with the embedding domain.

As a consequence, algorithmic approaches for linkage realization in practical CAD/CAM, robotics, or molecular applications must leverage features of the domain, such as low complexity of GG5, rather than structural simplicity of the linkage alone.

The Role of Domain Geometry

The complexity and algorithmic boundary for PLR is shown to critically depend on the structure of GG6. For convex domains and bounded chain length, tractable algorithms exist. However, the presence of holes or concavities is crucial for encoding hard combinatorial problems, as evidenced by the NP-hardness construction. This has direct consequences for geometric motion planning and rigidity theory.

The results motivate further investigation into parameterizations by domain complexity (number of holes, reflex vertices, etc.), with the conjecture that fixed-parameter tractability might be recovered for linkages in domains with bounded topological or combinatorial complexity.

Algorithmic Techniques

The explicit handling and encoding of realizability as systems of polynomial equalities and inequalities provides a template for direct application of symbolic computation and real algebraic methods—even as the worst-case complexity remains high. The geometric gadget constructions for encoding logical relations have broader applicability to reductions for other geometric realization-type problems.

Directions for Further Research

  • Algorithmic meta-theorems for PLR in domains with bounded holes or treewidth.
  • Hardness for simple polygons: the present hardness leverages holes; proving NP-hardness for realization in simple (hole-free) polygons remains open.
  • Extension to other constraints: e.g., linkages with repeated lengths, dichotomous edges [Angelini2025], or in higher-dimensions.
  • Efficient algorithms for small linkages: Extending the tractability for length-three linkages to longer chains, possibly via configuration space analysis or motion planning techniques.

Conclusion

This work precisely delineates the boundary between tractability and intractability for planar linkage realization in constrained (polygonal) domains. While fixed-parameter and polynomial-time algorithms exist for chains in convex environments, general cases—even for structurally simple paths—are intractable due to the expressive power of geometric constraint encoding via the domain. The findings have significant ramifications for geometric constraint solving, motion planning, and the algorithmic theory of rigidity, and guide avenues for further research on parameterized algorithms and domain-sensitive complexity classification.


References:

  • "Who needs crossings?: Noncrossing linkages are universal, and deciding (global) rigidity is hard" [ADD+.Wnc.2025]
  • "Parameterized Algorithms" [Cygan2015]
  • "Solving Systems of Polynomial Inequalities in Subexponential Time" [GJ.SSP.1988]
  • "Optimal Binary Space Partitions for Segments in the Plane" [DBK.OBS.2012]
  • "Geometric Realizations of Dichotomous Ordinal Graphs" [Angelini2025]

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.