9 Feb 11:43
[rules-dev] Bug in Sudoku Example - with fix
jschmied <nabble <at> juergenschmied.de>
2010-02-09 10:43:41 GMT
2010-02-09 10:43:41 GMT
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. _______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev
RSS Feed