simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun May 22 12:45:21 BST 2005


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       5828
Date:           2005-05-22 12:45:20 +0100 (Sun, 22 May 2005)

Log message (8 lines):
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...

Modified files:
U   puzzles/net.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=5828&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/net.c?rev=5828&r1=5827&r2=5828



More information about the tartarus-commits mailing list