On Nov 10, 2006, at 12:11 AM, Skeptic 2000 wrote:
Hi,
I tried for the first time to use backward-chaining and I can't
figure out why this simple example don't work :
It doesn't work because you never call "reset". It's good practice to
call "reset" at some point before running any Jess program; in this
case, it's a necessity, as the (initial-fact) fact drives the
backward chaining. The example in the manual *does* say that the need-
X facts are asserted "when the engine is reset", but that may not be
explicit enough; I'll clarify the manual as best I can.
---------------------------------------------------------
Ernest Friedman-Hill
Advanced Software Research Phone: (925) 294-2154
Sandia National Labs FAX: (925) 294-2234
PO Box 969, MS 9012 [EMAIL PROTECTED]
Livermore, CA 94550 http://www.jessrules.com
--------------------------------------------------------------------
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]
--------------------------------------------------------------------