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

Abstract

Given a connected, undirected, simple graph G = (V, E) and p |V| pebbles labeled 1,..., p, a configuration of these p pebbles is an injective map assigning the pebbles to vertices of G. Let S and D be two such configurations. From a configuration, pebbles can move on G 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 D reachable from S and if so, how? We show that the feasibility of this problem can be decided in time O(|V| + |E|).

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…