Re: JESS: Threads.

2002-09-05 Thread Gang Liu
thanks Ernest to clarify our concerns of "modify" function! Gang >From: [EMAIL PROTECTED] >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: JESS: Threads. >Date: Thu, 5 Sep 2002 14:01:33 -0700 (PDT) > >I think Gang Liu wrote: > > > It is expensive to retract that fact and create

Re: JESS: Threads.

2002-09-05 Thread ejfried
I think Gang Liu wrote: > It is expensive to retract that fact and create a new one if that > fact holds many entities. I think you're assuming that calling "new Fact" and a bunch of setSlotValue()'s is "expensive". That may well be, but for a nontrivial rule base and a decent-sized working memo

Re: JESS: Threads.

2002-09-05 Thread Gang Liu
hi, Ernest It does make sense. A couple of more questions on implementation.Suppose that we want to modify the existing fact which is an unordered fact with many slots: Benifit of modification: === It is expensive to retract that fact and create a new one if that fact holds many en

Re: JESS: NumberFormatException during parse

2002-09-05 Thread ejfried
I think Alan Moore wrote: [Charset iso-8859-1 unsupported, filtering to ASCII...] > Ernest, > > From my experience debugging some jess code, I noticed that a > NumberFormatException is thrown on a somwhat regular basis during > parsing. I assume that some part of the parser is checking to see i

JESS: NumberFormatException during parse

2002-09-05 Thread Alan Moore
Ernest, >From my experience debugging some jess code, I noticed that a NumberFormatException is thrown on a somwhat regular basis during parsing. I assume that some part of the parser is checking to see if a symbol is a number or not in order to determine RU.XXX types. Do you know how much, or i

Re: JESS: URGENT! Need help with (not) CE

2002-09-05 Thread Igor Gorbunov
Hello Ernest, I just wanted to thank you once again for the really valuable help, and let you know that it works now :) Currently, I'm using second approach - asserting (tried-to-create-counts) fact for a group of counts. The "since" and "till" attributes support did not require additional effor

Re: JESS: Threads.

2002-09-05 Thread ejfried
I think Gang Liu wrote: > hi, all > I borrow this topic to ask another question. Thanks in advance! > > Requirement: > === > We have two rules. The values are hold by facts. We want to pass > values from the first rule to the second rules. Generally, it's better to think of working memor