Robotic Arm Rotation: Standing up Is Harder Than You Think
Abstract
We study motion-planning problems for planar robotic arms that rotate around fixed centers while avoiding collisions. In the SM-RAMP model, each unit-length arm may rotate at most once; the question is whether all arms can be rotated to the vertical position. We resolve an open problem of Bousquet et al. [1] by proving that SM-RAMP is NP-complete, even in the horizontal-to-vertical setting. Our hardness proof uses a structural analysis of rotation-propagation chains and introduces a combinatorial abstraction of independent interest, the Lighthouse Propagation problem, which we show is itself NP-complete. We then consider the multi-move variant MM-RAMP, where each arm may rotate multiple times among a fixed set of allowed angles (or orientations). We prove that MM-RAMP is PSPACE-complete even when each arm has only a few allowed angles, in sharp contrast with the single-move case. Finally, we give two fixed-parameter tractable algorithms: for MAX-SM-RAMP parameterized by the number of arms to be made vertical, and for 2A-MM-RAMP (restricted to horizontal and vertical) parameterized by the number of allowed rotations.
Keywords and phrases:
search, optimization, robotics, robotic arms, parameterized complexity, computational geometry, combinatorial reconfigurationFunding:
Nicolas Bousquet: supported by the ANR (Agence Nationale de la Recherche) project TOAD (ANR-25-CE48-3716).Copyright and License:
Naomi Nishimura, and Agnes Totschnig; licensed under Creative Commons License CC-BY 4.0
2012 ACM Subject Classification:
Theory of computation Complexity classes ; Theory of computation Problems, reductions and completeness ; Theory of computation Graph algorithms analysis ; Theory of computation Parameterized complexity and exact algorithmsFunding:
Remy El Sabeh and Naomi Nishimura: supported by the Natural Sciences and Engineering Research Council of Canada (NSERC).Editor:
Pierre FraigniaudSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl β Leibniz-Zentrum fΓΌr Informatik
1 Introduction
Motion planning for multiple robots operating in a shared workspace is a fundamental problem in robotics, studied under both centralized [13] and decentralized [7, 19] frameworks. The core challenge is to design collision-free motions that transform a given initial configuration of robots into a desired target configuration. While sampling-based algorithms often perform well in practice, they provide limited guarantees and do not capture the combinatorial structure underlying interference constraints. Motivated by this, we adopt a reconfiguration viewpoint, in which we study reachability questions on highly restricted robotic systems where collisions arise solely from geometric interactions.
Combinatorial reconfiguration problems were formally introduced in algorithmic form by Ito et al. [14], who studied how to transform one feasible solution (or configuration) of a combinatorial problem into another through a sequence of small, valid changes. Since then, the area has grown into a broad framework encompassing graph problems, geometric objects, and combinatorial optimization. The Nondeterministic Constraint Logic (NCL) framework of Hearn and Demaine [11, 12, 6] has been used as a central tool in this setting to prove -completeness of many natural puzzles and motion-planning problems. The resulting theory features both rich algorithmic structure and numerous hardness results [2, 15, 5, 4, 18, 17]. For an overview of developments in the area, we refer the reader to the surveys [3, 21, 16].
In this paper, we continue the study of extremely restricted robotic systems [1]. Each robot is a simple robotic arm represented by a unit-length line segment in the plane which can move only by rotating around its midpoint, either clockwise or anticlockwise. A configuration (specified midpoints and angles of each arm) is conflict-free if no two arms intersect; moreover, no arm is allowed to intersect any other arm at any point during its rotation. Despite their simplicity, these systems encode surprisingly rich geometric dependencies that make even very restricted motion-planning questions computationally complex.
We first study the simplest such question in the Single-Move Robotic Arm Motion Planning (SM-RAMP) problem [1]: starting from an initial configuration, can all arms be made vertical by at most one rotation per arm? A solution to the problem consists of a sequence of intermediate configurations, each obtained by rotating exactly one arm to the vertical orientation. Since each arm has only a single opportunity to rotate, the order in which we choose to rotate the arms is crucial, e.g., rotating one arm too early may block the rotation of another arm that lies βbehindβ it. Intuitively, SM-RAMP asks whether it is possible to choose an ordering in which to βstand upβ the arms one by one.
Previous work proved NP-completeness of related problems, but left open the complexity of SM-RAMP [1]. We resolve this open problem by proving that SM-RAMP is -complete, even when all arms are initially horizontal. A horizontal-to-vertical (HβV) instance eliminates all freedom in the choice of angles and imposes an extremely regular structure on allowed rotations, yet remains computationally intractable.
Theorem 1.
SM-RAMP is -complete, even when restricted to HβV instances where every robotic arm interacts with at most three others.
To prove Theorem 1, we introduce the Lighthouse Propagation (LPR) problem, where chains (sequences of arms) are abstracted into rectilinear light rays; doing so allows us to break the quite technical reduction of Theorem 1 into two parts. Given a set of lighthouses, positioned at points in a grid, where each lighthouse can illuminate either of two light ray bundles or (oriented subtrees rooted at ), the LPR problem consists of choosing, for each , either or so that the union of the chosen bundles is acyclic. We define the behavior of these light rays to match the behavior of chains in SM-RAMP. This abstraction allows us to design gadgets to encode instances of Planar 3-Bounded 3-SAT, an NP-complete problem, into instances of LPR with reflection count at most three, that is, where each light ray intersects at most three others.
Theorem 2.
Lighthouse Propagation is -complete, even when restricted to instances with a reflection count of at most three.
The LPR reduction (Theorem 2, deferred to Section 3) contains all the combinatorial ingredients and explains how we will use chains to derive hardness, without having to account for two important aspects of an SM-RAMP instance. First, we need not be concerned with the exact positions of the midpoints of the robotic arms, which allows us to bypass much of the geometry of the problem. Second, we assume in the definition of the problem that, without having to design gadgets, we have the desired propagation behaviour. We will handle these two points in the reduction from LPR to SM-RAMP (in Section 4).
While SM-RAMP restricts each arm to a single rotation, the original framework [1] and most applications in robotics also consider more general reconfiguration problems where arms (and more generally robots) may rotate multiple times among a finite set of allowed angles. This leads to the Multiple-Move Robotic Arm Motion Planning problem (MM-RAMP), which generalizes SM-RAMP by allowing each arm to rotate more than once and by specifying multiple allowed angles. We are given initial and target conflict-free configurations of a set of robotic arms. Each arm has a specified finite set of allowed angles, including its starting and ending angles. A valid reconfiguration sequence is a sequence of conflict-free intermediate configurations that transforms the initial configuration into the target one, moving the robotic arms one by one. As in SM-RAMP, each step may rotate only a single arm, which must be intersection-free throughout its rotation. However, unlike in SM-RAMP, an arm may rotate multiple times over the course of the sequence.
Intuitively, MM-RAMP asks whether it is possible to βnavigateβ each arm through its allowed angles, one movement at a time, without ever intersecting another arm. The challenge lies not only in finding a feasible path for each individual arm, but also in orchestrating movements so that rotations of one arm do not obstruct the movements of others. This makes MM-RAMP much more expressive and significantly more complex than its single-move counterpart. We establish the intrinsic difficulty of MM-RAMP by showing that it is -complete, even when each arm is allowed only a constant number of angles.
Theorem 3.
MM-RAMP is -complete, even when the total number of distinct angles is at most , and when the number of possible angles per robotic arm is at most .
Complementing these hardness results, we identify two settings in which RAMP problems become tractable from a parameterized perspective. Positive results in such constrained geometric reconfiguration settings appear to be scarce, and our findings suggest that parameterization may be a promising avenue toward identifying nontrivial tractable cases.
-
Let MAX-SM-RAMP denote a variant of SM-RAMP where arms can initially be either horizontal or vertical and the goal is to determine whether there exist at least arms that can be rotated from horizontal to vertical (allowing at most one rotation per arm). We show that MAX-SM-RAMP is fixed-parameter tractable (and admits a polynomial kernel) when parameterized by .
-
Let 2A-MM-RAMP denote a variant of MM-RAMP allowing only two admissible orientations per robotic arm. Given an integer , the goal is to determine whether there exists a sequence of at most rotations that can transform the initial configuration to the target one (allowing multiple rotations per arm). We show that 2A-MM-RAMP is fixed-parameter tractable when parameterized by , provided only the horizontal and vertical orientations are allowed.
These results are modest in scope, but they indicate that a careful choice of parameters can help isolate tractable structure within RAMP problems.
Collectively, our results demonstrate that even extremely constrained geometric motion-planning problems encode deep combinatorial structure. The RAMP framework thus serves as a minimal yet expressive setting for understanding the complexity landscape of intersection-free reconfiguration. More broadly, we believe that the problems and techniques introduced here, most notably the structural analysis of rotation dependencies and the lighthouse propagation abstraction, could provide a foundation for studying hardness in other highly constrained geometric reconfiguration systems. These models capture fundamental propagation mechanisms that arise whenever simple geometric objects interact through rigid interference constraints, and we hope that they will serve as starting points for establishing complexity results in a wider class of geometric reconfiguration problems.
Due to space constraints, all missing (formal) proofs and all details about the MM-RAMP results can be found in the full version of the paper.
2 The SM-RAMP problem
The Robotic Arm Motion Planning (RAMP) problems are defined in the plane . A robotic arm is a unit-length segment with midpoint and angle , measured from the horizontal. Each arm has an associated circle and square centered at its midpoint, used only to define geometric constraints. A set of arms is conflict-free if their segments are pairwise non-intersecting. We focus on horizontal arms () and vertical arms ().
A reconfiguration step rotates a single arm about its midpoint, changing to with . If the swept sector intersects another arm (even in a single point), the rotation collides with . In the Single-Move RAMP (SM-RAMP) problem, each arm may rotate at most once. Given a conflict-free set of arms, we ask whether all arms can be made vertical via a sequence of collision-free reconfiguration steps.
2.1 Definitions and initial observations
The solution to a RAMP problem, or rotation ordering, is a pair , where lists the arms in in the order in which they rotate and , , records clockwise/anticlockwise rotation. Properties of a rotation ordering are characterized by two types of constraints (Figure 1) between arms and :
We encode constraints in four directed graphs on vertex set : (resp. ) encodes precedence (resp. succession), and the subscript indicates rotation direction. In , an arc means must rotate before if rotates in direction ; in , an arc means must rotate before if rotates in direction . If any such constraint exists, arms and interact.
Given a direction assignment with , we call compatible if there is a rotation ordering in which each rotates according to . The associated rotation dependency graph has vertex set and an arc whenever or . Then is compatible if and only if is acyclic. If , any reverse topological ordering of yields a rotation ordering.
In a horizontal-to-vertical (HβV) instance, all arms start horizontal and must become vertical. We capture the geometry of constraints via flowers (Figure 3): we place eight quarter-circular regions (petals) around an armβs square, each petal being of type or . We observe that, for any type in , if the midpoint of lies in a petal of that type of , then the midpoint of lies in a petal of the same type of . Thus every interacting pair appears in exactly one of the four graphs and every constraint is bidirectional. This structural property distinguishes HβV instances from the general case and underlies both hardness and positive results (Section 5).
2.2 Chains in SM-RAMP instances
We now introduce chains, the key structured gadgets used in our hardness proof. A horizontal chain is a sequence of horizontal arms whose pairwise interactions use only -constraints, with symmetric constraints only between consecutive arms and no constraints between non-consecutive arms. Analogously, a vertical chain uses only -constraints. Neighboring arms in a chain always rotate in opposite directions (Figure 3).
In a horizontal chain, only the two ends can rotate first; rotations then propagate from the ends toward an arm at the center of the chain, which rotates last. In a vertical chain, any arm may rotate first, but once the first arm and its direction are fixed, the directions and order of all other arms are forced; the pattern is essentially the reverse of that of a horizontal chain. Choosing a rotation direction for some arm in a chain induces a propagation: a forced ordering and directions on a set of constrained arms, including root .
A horizontal chain and a vertical chain that share an arm intersect; propagation along one chain may spread to the other through the shared arm. When propagation spreads, we distinguish a main chain (where propagation starts) and a branching chain (where propagation spreads to). All possible local propagation patterns between two intersecting chains fall into eight cases, depending on the geometry and on the chosen root and direction (Figure 4).
Because propagation along a chain has a well-defined direction and order, we represent it by a propagation arrow (Figures 4 and 5): arms at the head rotate first and at the tail rotate last. In our constructions chains are horizontal or vertical, so arrows are rectilinear. Propagation can also travel through a sequence of intersecting chains, possibly stopping at intersections depending on the chosen root and direction; this behavior is captured combinatorially in Section 2.3 and realized geometrically in the reduction to SM-RAMP.
2.3 The lighthouse propagation problem
We abstract propagation behavior in the Lighthouse Propagation (LPR) problem. We work on an integer grid, where . Each lighthouse sits at a grid point and has two bundles of directed grid edges. Each bundle is a tree-like rectilinear structure of horizontal and vertical unit-length edges of maximum degree 3, with exactly one horizontal edge incident to the lighthouse; orientations are chosen so that each bundle behaves like a propagation pattern along rectilinear chains. Maximal collinear sequences of edges are grouped into (light) rays, each drawn as an arrow (Figure 6). Bundles must also interact in a restricted way: light rays of different bundles never overlap and only intersect orthogonally at endpoints, mirroring how propagation spreads between chains (Figure 7).
Each lighthouse chooses exactly one of its two bundles to illuminate; all edges in the chosen bundle become light-directed. A directed light cycle is a directed cycle whose edges are all light-directed. A set of illuminated rays induces such a cycle if it contains all its edges. The decision problem Lighthouse Propagation asks, given lighthouses , where each lighthouse has bundles , whether there exists a choice function with such that the illuminated rays do not induce a directed light cycle. The reflection count is the maximum number of intersections (reflections) along any light ray.
We show that LPR is -complete even when the reflection count is at most 3. The reduction is from Planar 3-Bounded 3-SAT; each lighthouse encodes a variable (choosing vs. corresponds to setting the variable to true vs. false), and carefully designed clause gadgets force a directed light cycle whenever a clause is not satisfied.
3 Hardness of the lighthouse propagation problem
3.1 Description of the reduction
We sketch the reduction proving Theorem 2. We begin with the incidence graph of a planar formula , for which a polynomial-size rectilinear embedding is known to exist.
Lemma 4 (Tamassia [20]).
A connected planar graph on vertices admits a rectilinear embedding in an grid, computable in polynomial time.
We compute a planar rectilinear embedding of . Each variableβclause incidence is drawn as a rectilinear path whose interior grid points are connectors (straight or elbow). A clause is top/bottom/left/right-positioned with respect to a variable if the path initially goes up/down/left/right; we use as abbreviations for these four positions.
We scale by a factor of 8 to obtain and replace each vertex by a square block of size : a variable block, a clause block, or a connector block. Adjacent vertices in become blocks that share a side. Each block has four outlets (midpoints of its sides), namely its T-outlet, B-outlet, L-outlet, and R-outlet, through which light rays may enter or exit.
We color-code the light rays to make their bundle assignments explicit. For a lighthouse , a light ray is colored red (resp. blue) if it belongs to (resp. ).
Variable blocks.
Each variable is replaced by a variable block with lighthouse at its center and two bundles (for ) and (for ). Since each variable appears in at most three clauses, we need only a constant number of local configurations for all possible positions of clauses around (Figure 8). Each occurrence contributes one ray exiting through the appropriate outlet and belonging to or depending on whether the literal is positive or negative. Variables with fewer occurrences are handled by deleting unused rays or simplifying single occurrences.
Observation 5.
For any variable with up to three occurrences and positions , there exist bundles such that for each clause containing at position , the light ray at the -outlet belongs to if the literal is positive and to otherwise.
Clause blocks.
Each clause is replaced by a clause block. A 3-literal (resp. 2-literal) clause uses a 3-clause (resp. 2-clause) block. Each constituent variable contributes one set of rays entering at the outlet facing its variable block, belonging to or according to the sign of the literal. Inside the block, these sets are arranged so that:
-
if all literals are false, all rays are illuminated, and their union has a directed light cycle;
-
if at least one literal is true, the illuminated rays contain no directed cycle.
All patterns of positions are obtained from a small number of representatives (Figure 9).
Observation 6.
Let be a clause and the set of positions of its variables in . There exist light ray sets , each rooted at a distinct -outlet (), that satisfy all interaction constraints and whose union contains a directed cycle that uses at least one edge from each . Moreover, if the variable that is -positioned appears positively (resp. negatively) in , then the light ray set rooted at the -outlet is a subset of (resp. ).
Connector blocks.
Each connector is replaced by a connector block. Straight connectors yield 1-connector blocks with a single light ray; elbows yield 2-connector blocks with two perpendicular rays forming a bend (Figure 10). Along each variable-to-clause path, connector rays are directed to represent propagation behavior within robotic arm chains.
Finally, for each variable we build and by combining (i) the rays inside the variable block (Observation 5), (ii) appropriate connector rays along each path, and (iii) the corresponding clause-block rays (Observation 6). This yields an instance of LPR (Figure 11).
3.2 Validity of the construction
We briefly justify correctness; full details can be found in the full version of the paper.
Although each block individually satisfies the bundle requirements of a valid LPR instance (Figures 6 and 7), we must first verify that these properties are preserved when the blocks are embedded in the plane.
Lemma 7.
The construction in Section 3.1 yields a valid instance of LPR having reflection count at most .
Next, to prove correctness, we examine the implications of choosing which bundle to illuminate for the light rays within clause blocks (Observation 8); should the illuminated light rays induce a directed light cycle, the blocks are specifically designed to force the directed light cycle to be contained within a clause block (Lemma 9).
Observation 8.
For any variable and clause , rays associated with a positive (resp. negative) literal of in are illuminated iff the lighthouse for illuminates (resp. ). Moreover, no directed path joins two distinct outlets in any variable or clause block.
Lemma 9.
If the illuminated rays induce a directed light cycle, then all edges of this cycle lie within a single clause block.
Proof sketch.
No variable or connector block contains a directed cycle. A cycle spanning multiple blocks would imply a directed path between two outlets of a variable or clause block, since entering and exiting a block via distinct outlets would require a directed path inside that block, contradicting Observation 8.
Armed with the previous two results, if the illuminated bundles do not induce a directed light cycle, we assign each variable the value true (resp. false) if (resp. ) is illuminated, and this assignment must satisfy every clause, since any unsatisfied clause would induce a forbidden directed light cycle by Observation 8. Conversely, given a satisfying assignment for , illuminating if is true and if is false cannot create a directed light cycle; otherwise, if a clause blockβs illuminated light rays contain such a cycle (Lemma 9), the associated clause is unsatisfied by Observation 8.
Thus, a directed light cycle exists if and only if some clause is unsatisfied, as needed to prove the following:
Theorem 2. [Restated, see original statement.]
Lighthouse Propagation is -complete, even when restricted to instances with a reflection count of at most three.
4 Hardness of the SM-RAMP problem
The construction mirrors that of Section 3. The key idea is to replace the light rays of an LPR instance by chains of robotic arms, treating light rays as propagation arrows, while carefully encoding the binary choice at each lighthouse.
4.1 Description of the reduction
We start from an LPR instance of Section 3.1. After a slight local modification to the block structure, we replace each unit segment of each light ray by a small cell, containing a constant-size arrangement of robotic arms, thereby forming an HβV SM-RAMP instance. We define the following cells (Figures 12, 13, 14 and 15):
-
Lighthouse cells, which encode the choice between two bundles of a lighthouse by two interacting horizontal chains whose special ends, and , represent truth values.
-
Rectilinear cells, replacing straight unit segments of rays by horizontal or vertical chains.
-
L cells, replacing a bend between two rays by interacting horizontal and vertical chains.
-
T cells, generalizing L cells to replace a degree-3 junction of rays.
To ensure that at each lighthouse exactly one of the two bundles behaves as βchosenβ, we augment the variable gadgets with a dummy clause enforcing that one of must rotate clockwise and the other anticlockwise. We enlarge each light-ray block to an augmented block of size , nest the original gadget in the center, and attach a dummy 2-clause block representing inside the same augmented variable block (Figure 13). The augmented construction still yields an -hardness LPR reduction, now from Planar 4-Bounded 3-SAT (original instance plus tautological clauses ).
Finally, each unit-length square of the light-ray embedding is replaced by one of the four robotic arm cells (lighthouse, rectilinear, L, T), according to the local ray pattern (Figures 14 and 15). The midpoints of robotic arms are aligned on the grid so that chains connect across block boundaries, producing an HβV SM-RAMP instance with polynomially many arms.
4.2 Implications of the construction
Two observations about local structure can be made about the constructed SM-RAMP instances: each robotic arm interacts with only a few others, and the arm cells are designed so that propagation of forced directions along chains mirrors the direction of light rays (Observation 10).
Observation 10.
In the constructed SM-RAMP instance, each robotic arm interacts with at most three others, and the propagation induced by choosing a rotation direction for or matches the propagation arrows of the corresponding bundle in the LPR instance.
The second part of Observation 10 ensures that exactly one truth-value arm rotates clockwise in each lighthouse cell, which is crucial for the correctness of the reduction:
Observation 11.
In any solution of the constructed SM-RAMP instance, for every lighthouse exactly one of and rotates clockwise.
Proof sketch.
If both truth-value arms of a variable rotate clockwise, there would exist a cyclic rotation dependency among the robotic arms replacing βs 2-clause dummy block.
We now relate satisfying assignments and rotation orderings. A cyclic rotation dependency analogous to that in the proof of Observation 11 arises within any clause block, should propagation happen according to the rays, which we now interpret as propagation arrows (Observation 10). Breaking the cycle requires rotating a subset of the chains in an order opposite to that of the propagation arrow, which is possible only when the truth-value arm at the end of the chain is rotated anticlockwise. Which truth-value arm to rotate anticlockwise in each lighthouse cell can be derived from which bundle is being illuminated (Figure 16).
Lemma 12.
If the LPR instance is a yes-instance, then the corresponding HβV SM-RAMP instance is also a yes-instance.
Conversely, suppose that the constructed HβV SM-RAMP instance admits a rotation ordering, and fix any clause . If the rotations within the robotic arms replacing βs clause block were forced to follow the propagation arrows, then, by construction, they would induce a cyclic rotation dependency. Hence some subset of these arms must rotate in an order that does not adhere to the propagation pattern. These arms are in a chain replacing a light ray in a lighthouseβs bundle, and that lighthouse would illuminate its other bundle.
Lemma 13.
If the HβV SM-RAMP instance is a yes-instance, then the LPR instance is also a yes-instance.
Since collision checking is polynomial, SM-RAMP is in NP; SM-RAMP being NP-complete follows from Lemmas 12 and 13.
Theorem 1. [Restated, see original statement.]
SM-RAMP is -complete, even when restricted to HβV instances where every robotic arm interacts with at most three others.
5 Positive results
Before presenting our algorithmic results, we briefly recall the framework of parameterized complexity, which provides a natural formalism for capturing tractability when certain aspects of an instance are bounded. A parameterized problem is a language , where an instance consists of the main input together with an integer , the parameter. The problem is fixedβparameter tractable (FPT) if membership in can be decided in time for some computable function . We refer the reader to [8, 9, 10] for more on the theory.
Our positive results rely on a strong geometric phenomenon that emerges when robotic arms are restricted to the two allowed orientations (horizontal and vertical); the possible interactions among arms are extremely local, in a sense that can be described precisely using the flower representation (Figure 17).
Consider any instance (single-move or multi-move) in which each arm may occupy only the horizontal or vertical orientation. For such an arm , the regions swept by a clockwise or anticlockwise rotation form two fixed sectors around the unit square centered at . Together, these sectors partition the region adjacent to the square into eight quarter-circular petals, collectively called the flower of .
A fundamental property of this decomposition is that the location of the midpoint of another arm relative to these petals determines exactly one of the possible rotation constraints between and . Specifically, each petal of corresponds to exactly one of the four constraint graphs , depending on whether the interaction concerns a clockwise or anticlockwise rotation of one arm (-constraints) or the effect of having already rotated the other arm (-constraints). Thus the flower captures the entire interaction pattern between and the rest of the configuration. If the midpoint of lies inside the middle square of βs flower, then and cannot rotate past one another in any sequence of allowed moves. This motivates the following definition.
Definition 14.
A robotic arm is frozen if no collision-free sequence of rotations, of any ordering and any choice of clockwise or anticlockwise directions, allows to rotate.
Frozen arms occur either because another armβs midpoint lies in their middle square or because they participate in a cycle of rotation dependencies. Such arms may be ignored in constructive algorithms, as they can never participate in any feasible reconfiguration. Flowers allow us to express a key locality property that underlies our parameterized algorithms.
Observation 15.
For any instance where all arms are restricted to horizontal and vertical orientations, in the union of the four constraint graphs induced by , the set of non-frozen arms, each arm has at most one neighbour in each petal of its flower. Consequently, has degree at most eight in this induced union graph.
In particular, each non-frozen arm interacts with at most eight other non-frozen arms, so the constraint graphs, when restricted to , have constant maximum degree. This strong locality is the structural cornerstone of our fixed-parameter tractability results.
5.1 The number of robotic arms to be made vertical as a parameter
We now study the parameterized complexity of MAX-SM-RAMP in the two-orientation setting (horizontal or vertical). In MAX-SM-RAMP, the goal is not necessarily to rotate all horizontal arms to the vertical orientation, but rather to decide whether at least arms can be made vertical by a collision-free sequence of clockwise or anticlockwise rotations.
Definition 16.
For a conflict-free configuration of robotic arms , each either horizontal or vertical, an arm currently in the horizontal orientation is
-
clockwise-free (-free) in if it is possible to rotate clockwise to the vertical orientation without collisions, yielding a conflict-free configuration; and
-
anticlockwise-free (-free) in if the property holds for an anticlockwise rotation.
An arm may be -free, -free, both, or neither; directional freedom is determined purely by whether the relevant sweep sector is unobstructed. To reason about interactions among directionally free arms, we use directional interaction graphs.
Definition 17.
For a configuration and a direction , the graph has one vertex for each -free arm in , and an edge whenever rotating in direction causes the swept sector of to intersect the current position of (or vice versa).
A key geometric fact proved earlier is that the flower of any arm contains at most one non-frozen neighbor in each petal. Because frozen arms are never directionally free, this gives an immediate degree bound on the directional interaction graphs.
Observation 18.
Let be any configuration and . Then every arm that is -free in has at most eight neighbors in .
Let denote the set of -free arms. The bounded degree of implies:
Lemma 19.
If , then we can compute in polynomial time a set of arms that are all -free in and pairwise non-adjacent in .
Such an independent set sweeps disjoint sectors, so its arms can be safely rotated (in any order) in direction .
Theorem 20.
MAX-SM-RAMP parameterized by is fixed-parameter tractable. Specifically, it can be solved in time .
We can adapt this FPT algorithm into a polynomial kernel using geometric arguments.
Theorem 21.
MAX-SM-RAMP parameterized by admit a kernel on arms.
5.2 The number of allowed rotations as a parameter
We now study 2A-MM-RAMP under a bound on the total number of allowed rotations, when each arm is restricted to the horizontal or vertical orientation. Unlike in SM-RAMP, where each arm may be rotated at most once and be made vertical, the 2A-MM-RAMP model allows each arm to visit any of its allowed angles, possibly moving away from its target and later returning to it. Thus, short valid sequences may temporarily rotate arms that already match their target angles.
Recall that an arm is frozen if no collision-free sequence of rotations ever allows it to change its angle. If there exists an arm such that and is frozen, then the instance is immediately a no-instance. We henceforth restrict attention to instances in which this does not happen. We now define a static interaction graph on non-frozen arms that captures all potential geometric conflicts.
Let be the set of all arms and let denote the set of non-frozen arms in the instance. For each unordered pair of distinct arms , the flower construction and two-orientation model determine whether and are in conflict in one of the four constraint graphs (that is, whether the midpoint of lies in a petal of , or vice versa, that induces a constraint when rotating in some direction). We define the union interaction graph as the undirected graph and where an edge belongs to if and only if and are adjacent in at least one of (restricted to ). In other words, Thus precisely when some clockwise or anticlockwise rotation of or (between the two allowed angles) can cause a collision between them. The graph is entirely determined by the positions of the arm midpoints and the two-angle model; it does not depend on the particular configuration (source, intermediate, or target).
By Observation 15, every non-frozen arm participates in at most eight constraints in total, one per petal of its flower, and each such constraint appears in exactly one of . Restricting to can only remove neighbours, and therefore:
Observation 22.
The union interaction graph has maximum degree at most .
Let be the set of (necessarily non-frozen) arms whose initial and target orientations differ. Every arm in must be rotated at least once in any valid solution. Hence, if , the instance is immediately a no-instance. We therefore assume from now on that . For a set and an integer , define the ball where denotes the shortest graph distance between and a vertex in .
Lemma 23.
If , then
Lemma 24.
Assume a valid sequence of length at most transforming to exists, and let be the set of arms that are actually rotated at least once in this sequence. Then every arm in belongs to .
Combining Lemmas 23 and 24, we see that the set contains every arm that is ever rotated in any valid solution of length at most . Thus all arms outside remain fixed obstacles; the search for an -bounded solution can be restricted to .
Theorem 25.
Let . Given an instance of 2A-MM-RAMP in which each arm has at most two allowed orientations (horizontal and vertical), one can decide whether there exists a valid sequence of at most rotations transforming into in time
References
- [1] Nicolas Bousquet, Remy El Sabeh, Amer E. Mouawad, and Naomi Nishimura. On the complexity of constrained reconfiguration and motion planning. In 51st International Conference on Current Trends in Theory and Practice of Computer Science (SOFSEM 2026), pages 1β15. Springer, 2026. doi:10.1007/978-3-032-17801-5_1.
- [2] Nicolas Bousquet, Felix Hommelsheim, Yusuke Kobayashi, Moritz MΓΌhlenthaler, and Akira Suzuki. Feedback vertex set reconfiguration in planar graphs. Theoretical Computer Science, 979:114188, 2023. doi:10.1016/J.TCS.2023.114188.
- [3] Nicolas Bousquet, Amer E. Mouawad, Naomi Nishimura, and Sebastian Siebertz. A survey on the parameterized complexity of reconfiguration problems. Computer Science Review, 53:100663, 2024. doi:10.1016/J.COSREV.2024.100663.
- [4] Ron Breukelaar, Erik D. Demaine, Susan Hohenberger, Hendrik Jan Hoogeboom, Walter A. Kosters, and David Liben-Nowell. Tetris is hard, even to approximate. International Journal of Computational Geometry and Applications, 14(1-2):41β68, 2004. doi:10.1142/S0218195904001354.
- [5] Marcin Brianski, Stefan Felsner, Jedrzej Hodor, and Piotr Micek. Reconfiguring independent sets on interval graphs. In 46th International Symposium on Mathematical Foundations of Computer Science (MFCS 2021), volume 202 of LIPIcs, pages 23:1β23:14, 2021. doi:10.4230/LIPIcs.MFCS.2021.23.
- [6] Kevin Buchin, Mart Hagedoorn, Irina Kostitsyna, and Max van Mulken. Dots & boxes is PSPACE-complete. In 46th International Symposium on Mathematical Foundations of Computer Science (MFCS 2021), volume 202 of LIPIcs, pages 25:1β25:18, 2021. doi:10.4230/LIPIcs.MFCS.2021.25.
- [7] Petar ΔurkoviΔ and Bojan JerbiΔ. Dual-Arm robot motion planning based on cooperative coevolution. In DoCEIS, volume 314 of IFIP Advances in Information and Communication Technology, pages 169β178. Springer, 2010. doi:10.1007/978-3-642-11628-5_18.
- [8] Marek Cygan, Fedor V. Fomin, Εukasz Kowalik, Daniel Lokshtanov, DΓ‘niel Marx, Marcin Pilipczuk, MichaΕ Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [9] Rodney G. Downey and Michael R. Fellows. Parameterized Complexity. Monographs in Computer Science. Springer, 1999. doi:10.1007/978-1-4612-0515-9.
- [10] JΓΆrg Flum and Martin Grohe. Parameterized Complexity Theory. Texts in Theoretical Computer Science. An EATCS Series. Springer, 2006. doi:10.1007/3-540-29953-X.
- [11] Robert A. Hearn. Games, puzzles, and computation. PhD thesis, Massachusetts Institute of Technology, Cambridge, MA, USA, 2006. URL: https://hdl.handle.net/1721.1/37913.
- [12] Robert A. Hearn and Erik D. Demaine. PSPACE-completeness of sliding-block puzzles and other problems through the nondeterministic constraint logic model of computation. Theor. Comput. Sci., 343(1-2):72β96, 2005. doi:10.1016/J.TCS.2005.05.008.
- [13] Luu Thi Hue and Nguyen Pham Thuc Anh. Planning the optimal trajectory for a dual-arm robot system using a genetic algorithm considering the controller. In 2022 International Conference on Advanced Technologies for Communications (ATC), pages 292β297, 2022. doi:10.1109/ATC55345.2022.9942975.
- [14] Takehiro Ito, Erik D. Demaine, Nicholas J. A. Harvey, Christos H. Papadimitriou, Martha Sideri, Ryuhei Uehara, and Yushi Uno. On the complexity of reconfiguration problems. Theoretical Computer Science, 412(12-14):1054β1065, 2011. doi:10.1016/J.TCS.2010.12.005.
- [15] Amer E. Mouawad, Naomi Nishimura, Venkatesh Raman, and Marcin Wrochna. Reconfiguration over tree decompositions. In 9th International Symposium on Parameterized and Exact Computation (IPEC 2014), pages 246β257, 2014. doi:10.1007/978-3-319-13524-3_21.
- [16] Naomi Nishimura. Introduction to reconfiguration. Algorithms, 11(4):52, 2018. doi:10.3390/A11040052.
- [17] Naoto Ohsaka. Gap amplification for reconfiguration problems. In Proceedings of the 2024 ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 1345β1366, 2024. doi:10.1137/1.9781611977912.54.
- [18] Naoto Ohsaka. Gap preserving reductions between reconfiguration problems. Journal of Computer and System Sciences, 157:103733, 2026. doi:10.1016/J.JCSS.2025.103733.
- [19] Seyed Sina Mirrazavi Salehian, Nadia Figueroa, and Aude Billard. A unified framework for coordinated multi-arm motion planning. International Journal of Robotics Research, 37(10), 2018. doi:10.1177/0278364918765952.
- [20] Roberto Tamassia. On embedding a graph in the grid with the minimum number of bends. SIAM J. Comput., 16(3):421β444, 1987. doi:10.1137/0216030.
- [21] Jan van den Heuvel. The complexity of change. In Simon R. Blackburn, Stefanie Gerke, and Mark Wildon, editors, Surveys in Combinatorics 2013, volume 409 of London Mathematical Society Lecture Note Series, pages 127β160. Cambridge University Press, 2013. doi:10.1017/CBO9781139506748.005.
