Adjacent neighbors can be blocked by a partition. If two adjacent
neighboring cells are blocked, the mouse cannot move directly from one
to the other one. The predicate is true if and only if cells
and
are adjacent, and they are not blocked by a partition.
The open neighbor set of a cell
is defined as
.
There is one or more destination cells in the maze. The set of all
destination cells is . Obviously,
.