At its core, object rearrangement is the task of moving a set of labeled items from an initial configuration to a target configuration within a constrained space. Whether sorting shipping containers in a port or coordinating a fleet of warehouse robots, the challenge lies in the massive state space of possible movements.
To make these problems tractable, researchers have moved away from searching for individual item paths. Instead, they frame rearrangement through the lens of permutation groups. By identifying high-level movement "primitives"—such as synchronous rotations or grid-wide shuffles—complex global reconfigurations can be reduced to predictable algebraic operations.
The Geometry of Permutations
The foundation of this approach is the realization that physical constraints on movement define the algebraic structure of the problem. In a classic treatment of the 15-puzzle, Archer demonstrates that tile movements are best understood as permutations acting on abstract "slots" within the grid.
By viewing the puzzle this way, Archer shows that the set of reachable states corresponds exactly to the alternating group $A_{15}$. This abstraction simplifies the problem: rather than calculating every possible sequence of slides, one can determine reachability simply by checking the parity of the desired permutation. This framing generalizes to any graph, where the connectivity of the graph dictates which permutations are possible.
Rotations as Fundamental Primitives
While simple sliding moves are the standard way to think about puzzles, they are often inefficient for large-scale coordination. Yu introduces a more powerful primitive: Pebble Motion with Rotations (PMR). In this model, multiple items on a cycle can rotate synchronously.
The intuition here is that cycles in a graph act as "engines" for rearrangement. Yu proves that by leveraging these cyclic rotations, the feasibility of a rearrangement can be tested in linear time. Furthermore, the "diameter" of the permutation group—the maximum number of moves required to reach any state—is bounded by $O(n^2)$. This means that even complex configurations can be reached in a relatively small number of steps if we treat rotations as atomic operations.
This concept extends even to unconventional geometries. For instance, Mishima shows that in triangular grid graphs, sequences of sliding moves can be composed to function as rotation operations. These rotations serve as the fundamental building blocks for reconfiguring labeled matchings, allowing for solutions to sliding-block puzzles even on boards with complex holes.
The Rubik Table Abstraction
For grid-based systems, the most efficient way to rearrange items is not to move them one by one, but to shuffle entire rows and columns. Szegedy et al. formalize this as the Rubik Table model.
The intuition behind the Rubik Table is a two-stage sorting strategy:
- Preparation (Balancing): First, perform permutations within each row so that every row contains exactly one item belonging to each target column.
- Execution (Shuffling): Once the items are balanced, a single set of column-wise permutations followed by row-wise permutations can move every item to its final destination.
The authors demonstrate that any configuration in an $n \times n$ table can be fully rearranged using a linear number of these shuffles—specifically $2n$ for colored items and $3n$ for uniquely labeled items. This is a significant result because it shows that global order can be achieved through a small number of operations that affect multiple items simultaneously.
From Grids to Physical Constraints
The power of these abstract primitives is their ability to solve problems in restricted physical environments. Szegedy et al. apply the Rubik Table logic to stack rearrangement, a common problem in shipping and warehousing where items are stored in Last-In, First-Out (LIFO) buffers.
Accessing an item at the bottom of a stack usually requires moving everything above it. However, by simulating the row and column shuffles of a Rubik Table using a single buffer stack, the authors derive algorithms that are constant-factor optimal. This means the total number of operations scales linearly with the number of items, regardless of the stack depth. By mapping the physical constraints of stacks onto the algebraic structure of grid shuffles, the authors transform a seemingly chaotic sorting task into a highly structured, efficient sequence of moves.
Key Foundational Work
Pebble Motion on Graphs with Rotations: Efficient Feasibility Tests and Planning Algorithms (2014) — contributed 4 concept elements to this direction.
A Modern Treatment of the 15 Puzzle (1999) — contributed 2 concept elements to this direction.