The pebble motion problems, or pebble motion on graphs, are a set of related problems in
graph theory
In mathematics, graph theory is the study of ''graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
dealing with the movement of multiple objects ("pebbles") from vertex to vertex in a
graph
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discre ...
with a constraint on the number of pebbles that can occupy a vertex at any time. Pebble motion problems occur in domains such as multi-
robot
A robot is a machine—especially one programmable by a computer—capable of carrying out a complex series of actions automatically. A robot can be guided by an external control device, or the control may be embedded within. Robots may ...
motion planning
Motion planning, also path planning (also known as the navigation problem or the piano mover's problem) is a computational problem to find a sequence of valid configurations that moves the object from the source to destination. The term is use ...
(in which the pebbles are robots) and
network routing
Routing is the process of selecting a path for traffic in a network or between or across multiple networks. Broadly, routing is performed in many types of networks, including circuit-switched networks, such as the public switched telephone netw ...
(in which the pebbles are
packets of data). The best-known example of a pebble motion problem is the famous
15 puzzle
The 15 puzzle (also called Gem Puzzle, Boss Puzzle, Game of Fifteen, Mystic Square and many others) is a sliding puzzle having 15 square tiles numbered 1–15 in a frame that is 4 tiles high and 4 tiles wide, leaving one unoccupied tile position ...
where a disordered group of fifteen tiles must be rearranged within a 4x4 grid by sliding one tile at a time.
Theoretical formulation
The general form of the pebble motion problem is Pebble Motion on Graphs formulated as follows:
Let
be a graph with
vertices. Let
be a set of pebbles with
. An arrangement of pebbles is a mapping
such that
for
. A move
consists of transferring pebble
from vertex
to adjacent unoccupied vertex
. The Pebble Motion on Graphs problem is to decide, given two arrangements
and
, whether there is a sequence of moves that transforms
into
.
Variations
Common variations on the problem limit the structure of the graph to be:
* a
tree
In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, including only woody plants with secondary growth, plants that are ...
* a
square grid
In geometry, the square tiling, square tessellation or square grid is a regular tiling of the Euclidean plane. It has Schläfli symbol of meaning it has 4 squares around every vertex.
Conway called it a quadrille.
The internal angle of th ...
,
* a
bi-connected graph.
Another set of variations consider the case in which some or all of the pebbles are unlabeled and interchangeable.
Other versions of the problem seek not only to prove reachability but to find a (potentially optimal) sequence of moves (i.e. a plan) which performs the transformation.
Complexity
Finding the shortest path in the pebble motion on graphs problem (with labeled pebbles) is known to be
NP-hard and
APX-hard
In computational complexity theory, the class APX (an abbreviation of "approximable") is the set of NP optimization problems that allow polynomial-time approximation algorithms with approximation ratio bounded by a constant (or constant-factor ap ...
. The unlabeled problem can be solved in polynomial time when using the cost metric mentioned above (minimizing the total number of moves to adjacent vertices), but is
NP-hard for other natural cost metrics.
References
{{DEFAULTSORT:Pebble Motion Problems
Multi-agent systems
Automated planning and scheduling
Computational problems in graph theory