chiark / gitweb /
Fix a bug causing premature defeatism in the Bridges solver. Deducing
authorSimon Tatham <anakin@pobox.com>
Tue, 17 Jan 2012 18:53:02 +0000 (18:53 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 17 Jan 2012 18:53:02 +0000 (18:53 +0000)
commitb2d7429d539238258ca6f9061da5a25a0835f2a9
tree6cd485bfc9ea93518f427b308b8793de9d7be39a
parent7024735f89c7b04b57e7ea41d5104a3455c91348
Fix a bug causing premature defeatism in the Bridges solver. Deducing
a better upper bound on the number of bridges leaving a given island
in a given direction was not counted as having 'done something'; so a
solver run could make several such deductions, but then terminate in
the belief that it hadn't achieved anything, when just going back
round the main solver loop would have enabled it to make further
deductions based on those new bounds.

[originally from svn r9377]
bridges.c