The Rete-OO engine determines the order of the conditions within a rule.

A rule's "priority" affects the conflict resolution when an assertion may
cause multiple rules to fire.  Since one may invalidate another, order may
be important.  But, it's always better to write rules so that order doesn't
matter.

        -bob


On Tue, 6 Aug 2002, Danny Ayers wrote:

> As far as I'm aware, the order is determined by the ReteOO engine, based on
> the logic in the rules so here the second rule should (I think) fire first :
> 
> A & B => C
> D & E => A
> 
> Do you have an example of the kind of rules you're using?
> 
> ---
> Danny Ayers
> <stuff> http://www.isacat.net </stuff>
> 
> Idea maps for the Semantic Web
> http://www.isacat.net/ideagraph
> 
> 
> >-----Original Message-----
> >From: [EMAIL PROTECTED]
> >[mailto:[EMAIL PROTECTED]]On Behalf Of
> >Maheedhar (STP)
> >Sent: 06 August 2002 07:44
> >To: Bob Mcwhirter (E-mail); Mail To Drools (E-mail)
> >Subject: [droolers] Order of Rules!
> >
> >
> >Hi
> >    Can any body please tell me how to control the order of
> >execution of the
> >rules in a rule set....
> >thanx
> >mahi
> >
> >
> >
> >-------------------------------------------------------
> >This sf.net email is sponsored by:ThinkGeek
> >Welcome to geek heaven.
> >http://thinkgeek.com/sf
> >_______________________________________________
> >drools-interest mailing list
> >[EMAIL PROTECTED]
> >https://lists.sourceforge.net/lists/listinfo/drools-interest
> 

--
Bob McWhirter        [EMAIL PROTECTED]
The Werken Company   http://werken.com/



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
drools-interest mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/drools-interest

Reply via email to