I think that "Chandler"
[EMAIL PROTECTED] wrote:
>>I was wondering, if there's a way,
>>whereby the jess engine can be left running, without having to call (Reset)
>>to insert facts everytime and (run) again and again...
>>whereby the jess engine can be left running, without having to call (Reset)
>>to insert facts everytime and (run) again and again...
Try using the (run-until-halt) command.
BTW -- The (reset) command only inserts facts as pre-defined in your (deffacts) constructs. It also asserts the all-important (initial-fact). Calling (clear) deletes all variables and facts in working memory.
Let me know if you are still stuck after reviewing this material.
Cheers,
Jason
-----------------------------------------------------------
Jason C. Morris
Worcester Polytechnic Institute Phone: (508) 831-5006
Department of Computer Science FAX: (508) 831-5776
Fuller Laboratories - Room 312 [EMAIL PROTECTED]
Artificial Intelligence Lab (AIRG)
100 Institute Road
Worcester, MA 01609-2280
-----------------------------------------------------------
