PROTECTED]
Reply-To: jess-users@sandia.gov
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished
firing rules
Date: Mon, 12 Feb 2007 19:33:10 -0700
As soon as you have more than one thread, you have to be *very
careful* with your definitions of words like when
Cardoso [EMAIL PROTECTED]
Reply-To: jess-users@sandia.gov
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished firing
rules
Date: Mon, 12 Feb 2007 09:43:05 +
Why don't you use Rete.run() instead of runUntilHalt() and wait for
the method to return?
Read
so that I can apply the same theory.
Thanks,
Paul
From: Ernest Friedman-Hill [EMAIL PROTECTED]
Reply-To: jess-users@sandia.gov
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished firing rules
Date: Mon, 12 Feb 2007 19:33:10 -0700
As soon as you have more
@sandia.gov
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished firing rules
Date: Tue, 13 Feb 2007 14:15:54 +0100
I actually went so far as to write a JessManager class that interfaces
JESS with my application.
It is a class that owns and runs a Rete engine
-users@sandia.gov
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished firing rules
Date: Mon, 12 Feb 2007 09:43:05 +
Why don't you use Rete.run() instead of runUntilHalt() and wait for the
method to return?
Read Ernest's reply.
Cheers,
Henrique
Shi Paul
-users@sandia.gov
To: jess-users@sandia.gov
Subject: RE: JESS: How do I determine Jess engine has finished
firing rules
Date: Fri, 09 Feb 2007 15:59:11 -0500
The easiest thing to do is add a rule with a low salience (I use
-1000)
that will always match and add whatever action on the rhs
Hi there,
Is there an API to determine the rule engine has completed its work. I'd
like to call rete.halt() to stop the engine, but I'm wondering what if the
engine is still firing rules when I call that. Can anybody shed some lights
on it?
Thanks,
Paul
On Feb 9, 2007, at 12:15 PM, Shi Paul wrote:
Hi there,
Is there an API to determine the rule engine has completed its
work. I'd like to call rete.halt() to stop the engine, but I'm
wondering what if the engine is still firing rules when I call
that. Can anybody shed some lights on it?
there are no more rules waiting to be fired.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Shi Paul
Sent: Friday, February 09, 2007 1:46 PM
To: jess-users@sandia.gov
Subject: Re: JESS: How do I determine Jess engine has finished firing
rules
Hi,
Actually I have