[rules-dev] Bug in Sudoku Example - with fix

Hitoshi Ozawa htshozawa at gmail.com
Wed Feb 10 06:26:32 EST 2010


Would appreciate if someone would post the patch here or post a URI to
the patch because I just finished developing the Japanese version of
the examples and would like to keep it in sync.

H.Ozawa

2010/2/10 Michael Neale <michael.neale at gmail.com>:
> want to make a .patch file someone can apply?
>
> On Tue, Feb 9, 2010 at 9:43 PM, jschmied <nabble at juergenschmied.de> wrote:
>>
>> 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
>
>
>
> --
> Michael D Neale
> home: www.michaelneale.net
> blog: michaelneale.blogspot.com
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>


More information about the rules-dev mailing list