P-complete

Cat and Mouse (CM)

Category: Games

Input

A directed graph $G = (V, E)$ with three distinguished vertices c, m, and g.

Problem

Does the mouse have a winning strategy in the game?

Definitions

The game is played as follows. The cat starts on vertex $c$, the mouse on vertex $m$, and $g$ represents the goal vertex. The cat and mouse alternate moves with the mouse moving first. Each move consists of following a directed edge in the graph. Either player has the option to pass by remaining on the same vertex. The cat is not allowed to occupy the goal vertex. The mouse wins if it reaches the goal vertex without being caught. The cat wins if the mouse and cat occupy the same vertex.

Status

$\P$-complete (Chandra and Stockmeyer [1]).

Remarks

The reduction to show hardness is from a logarithmic space alternating Turing machine.

References

  1. A. K. Chandra and L. J. Stockmeyer (1976). Alternation.
  2. Greenlaw, R., Hoover, H. J., and Ruzzo, W. L. (1995). Limits to Parallel Computation: P-Completeness Theory. Oxford University Press. Problem A.11.2.