Jason Morris <jason.c.morris <at> gmail.com> writes:
>
>
Jess. Look at this rule below from your code:
> (defrule initial?fact <- (initial-fact)=>(retract ?fact)
> ....This is bad Jess karma. Jess uses (initial-fact) for
a number of housekeeping purposes. (See docs sec 5.1
> ) Now, many of your rules depend upon the (not) conditional element. This CE
depends upon (initial-fact) being in working memory (See JIA p. 111). I
commented out the retraction and added some debug code to pretty-print the other
goings-on.
>
Hi Jason,
Thanks for looking at the code.
When I posted my original message, my modified code already removed the "retract
initial-fact" part. Please see
http://jywiki.sourceforge.net/sudoku/sudoku.clp
instead of the CalPoly site. I don't think the CalPoly code ever worked, at
least not the version I got. It has other errors.
So the question remains, jess bug or my bug?
-Brian Zhou
--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------