I ran across a small bug (squish)...
It appears that in certain cases some activations are not removed
during a reset. The attachment is a simple Jess batch file which
illustrates this situation.
If this has already been discovered, please ignore this message.
Alan Davis
CAD Research Center
California Polytechnic State University
San Luis Obispo, CA 93407
(deffacts makeFacts
(hello one)
(hello two)
)
(deffacts makeMoreFacts
(hello three)
(hello four)
)
(defrule rule1
(hello ?n)
=>
(printout t "hello from " ?n crlf)
)
(watch activations)
(printout t "Resetting..." crlf)
(reset)
(agenda)
(printout t "Running..." crlf)
(run)
(printout t "Resetting..." crlf)
(reset)
(agenda)
(printout t "Resetting..." crlf)
(reset)
(agenda)
(printout t "Running..." crlf)
(run)