The basic trick is this:
From one rule, set up the GUI to ask a question, then call
((engine)
waitForActivations), which pauses the (run) thread until a new rule
is
activated.
I read the book Jess in Action. The functions I mentioned are actually
used to perform backward chaining.
I think Steffen Luypaert wrote:
The basic trick is this:
From one rule, set up the GUI to ask a question, then call
((engine)
waitForActivations), which pauses the (run) thread until a new rule
is
activated.
The problem is that waitForActivations will still fire the