Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-14 Thread Ernest Friedman-Hill
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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-13 Thread Florian Fischer
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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-13 Thread Shi Paul
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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-13 Thread Shi Paul
@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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-12 Thread Shi Paul
-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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-12 Thread Ernest Friedman-Hill
-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

JESS: How do I determine Jess engine has finished firing rules

2007-02-09 Thread Shi Paul
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

Re: JESS: How do I determine Jess engine has finished firing rules

2007-02-09 Thread Ernest Friedman-Hill
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?

RE: JESS: How do I determine Jess engine has finished firing rules

2007-02-09 Thread Krasnigor, Scott L (N-AST)
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