Special case in dead-end checking which prevents the solver falling
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 May 2005 11:45:20 +0000 (11:45 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 May 2005 11:45:20 +0000 (11:45 +0000)
commit9535138a690f4efdc0b38a422f45fcfdaf887c80
tree3a6d785af913cb363f33c6b5f2cc1c66c8752908
parent84942c65e87429222a1cbb28d00134d2367aa6b3
Special case in dead-end checking which prevents the solver falling
over on a grid containing a 0 (completely blank) tile. This can't
happen in self-generated grids, but can happen if you type in a grid
from another Net implementation. Previously, the solver would notice
(technically correctly!) that a completely blank tile connects to no
other tiles and thus forms an isolated subgraph, and would therefore
complain that no orientation of that tile could possibly yield a
valid solution...

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@5828 cda61777-01e9-0310-a592-d414129be87e
net.c