thank Ernest for clarification.
regards & thanks
Gang

>From: [EMAIL PROTECTED]
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED]
>Subject: Re: JESS: multiple Rete Engine.
>Date: Tue, 24 Sep 2002 11:25:49 -0700 (PDT)
>
>I think Gang Liu wrote:
> > Thanks
> > My expectation is No too. But, in reality, I observed that one fact in 
>one
> > engine activated one rule in another engine. Any ideas?
> > thanks
> > Gang
>
>
>If you're coding in Java and you assert a single Fact object into
>multiple engines, then if you modify that fact in one engine, all the
>other engines will "see" the modifications -- although the indexes of
>the other engines may be corrupted, and the behavior from that point
>on will be undefined. As the manual states at one point, Fact objects
>are the property of Jess once they've been asserted, and you can't do
>anything else with them after that -- including asserting them into
>another engine.
>
>Simiilarly, but not so disastrously, if you definstance a single Java
>Bean into multiple engines, then changes made to the Bean from one
>engine will broadcast to all the others -- that's pretty obvious
>though, and nothing bad will happen.
>
>But sending the string "(assert (fact1))" to executeCommand on any
>single engine won't effect any other engine in any way. The Rete
>networks and fact lists for each engine are completely separateand
>don't communicate at all.
>
>
>---------------------------------------------------------
>Ernest Friedman-Hill
>Distributed Systems Research        Phone: (925) 294-2154
>Sandia National Labs                FAX:   (925) 294-2234
>Org. 8920, MS 9012                  [EMAIL PROTECTED]
>PO Box 969                  http://herzberg.ca.sandia.gov
>Livermore, CA 94550
>
>--------------------------------------------------------------------
>To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
>in the BODY of a message to [EMAIL PROTECTED], NOT to the list
>(use your own address!) List problems? Notify [EMAIL PROTECTED]
>--------------------------------------------------------------------




_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to