We consider the following pebble motion problem. We are given a tree T with n vertices and two arrangements ℛ and script S sign of k < n distinct pebbles numbered 1.....k on distinct vertices of the tree. Pebbles can move along edges of T provided that at any given time at most one pebble is traveling along an edge and each vertex of T contains at most one pebble. We are asked the following question: Is arrangement script S sign reachable from ℛ? We present an algorithm that, on input two arrangements of k pebbles on a tree with n vertices, decides in time O(n) whether the two arrangements are reachable from one another. We also give an algorithm that, on input two reachable configurations, returns a sequence of moves that transforms one configuration into the other. The pebble motion problem on trees has various applications including memory management in distributed systems, robot motion planning, and deflection routing.
CITATION STYLE
Auletta, V., Monti, A., Parente, M., & Persiano, P. (1999). A linear-time algorithm for the feasibility of pebble motion on trees. Algorithmica (New York), 23(3), 223–245. https://doi.org/10.1007/PL00009259
Mendeley helps you to discover research relevant for your work.