[rules-dev] Bug in Sudoku Example - with fix
jschmied
nabble at juergenschmied.de
Tue Feb 9 05:43:41 EST 2010
Hi!
I found a bug in the rule 6,7 and 8 in the sudoku example:
It should not only test against the PCV but against the RCV too:
Rule 6:
# the not operator only causes this when clause to resolve to true when
there are not
# any other PCVs or RCVswith the same row and value as $possible
not (PossibleCellValue( row == $row, value == $value ) || ResolvedCellValue(
row == $row, value == $value) )
7 and 8 are similar.
juergen
--
View this message in context: http://n3.nabble.com/Bug-in-Sudoku-Example-with-fix-tp196315p196315.html
Sent from the Drools - Dev mailing list archive at Nabble.com.
More information about the rules-dev
mailing list