English

A Linear Time Algorithm for the Feasibility of Pebble Motion on Graphs

Data Structures and Algorithms 2013-01-22 v2 Robotics

Abstract

Given a connected, undirected, simple graph G=(V,E)G = (V, E) and pVp \le |V| pebbles labeled 1,...,p1,..., p, a configuration of these pp pebbles is an injective map assigning the pebbles to vertices of GG. Let SS and DD be two such configurations. From a configuration, pebbles can move on GG as follows: In each step, at most one pebble may move from the vertex it currently occupies to an adjacent unoccupied vertex, yielding a new configuration. A natural question in this setting is the following: Is configuration DD reachable from SS and if so, how? We show that the feasibility of this problem can be decided in time O(V+E)O(|V| + |E|).

Cite

@article{arxiv.1301.2342,
  title  = {A Linear Time Algorithm for the Feasibility of Pebble Motion on Graphs},
  author = {Jingjin Yu},
  journal= {arXiv preprint arXiv:1301.2342},
  year   = {2013}
}

Comments

Added reference to an earlier linear result on pebble motion on graphs by Goraly and Hassin

R2 v1 2026-06-21T23:07:35.888Z