This is one of the reasons Jess is way cool ;-)

Thanks, Ernest, for this wonderful feature.

alanm

> -----Original Message-----
> From: Ernest Friedman-Hill [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 29, 1998 8:21 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: JESS: dynamic rule addition & deletion
> 
> I think Josiah Poon wrote:
> > 
> > Hi all,
> > 
> > We are considering to implement a RBS which can add
> > or modify or delete its existing rules during the 
> > execution.
> > 
> > We appreciate the experts out there can advise:
> > . can this be done with Jess?
> > . what approaches can we take?
> > . what is the implication to the performance of Jess?
> >   can Rete accommodate the dynamic nature of the rules?
> 
> You can add or delete rules from a running Jess engine. The new rules
> will immediately react to pre-existing facts (as one would hope!) This
> feature, called 'incremental reset' was first introduced in Jess 3.0,
> and made much more efficient in Jess 4.1.
> 
> Adding or removing rules from a running engine will not degrade its
> performance in any way, -but- note that adding rules into an engine
> with a long fact list may itself be computationally expensive. In
> other words, once the rulebase is stable, it will run as efficiently
> whether or not it was built all at one time; but building it in pieces
> may take longer than building it all at once.
> 
> Use (undefrule) to remove a rule completely; use (defrule) to "modify"
> an existing rule by replacing it with a new version.
> 
> 
> > 
> > Thanks in advance.
> > 
> > Josiah
> >  
> > ---------------------------------------------------------------------
> > To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
> > in the BODY of a message to [EMAIL PROTECTED], NOT to the
> > list. List problems? Notify [EMAIL PROTECTED]
> > ---------------------------------------------------------------------
> > 
> > 
> 
> 
> ---------------------------------------------------------
> Ernest Friedman-Hill  
> Distributed Systems Research        Phone: (925) 294-2154
> Sandia National Labs                FAX:   (925) 294-2234
> Org. 8920, MS 9214                  [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. List problems? Notify [EMAIL PROTECTED]
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the
list. List problems? Notify [EMAIL PROTECTED]
---------------------------------------------------------------------

Reply via email to