if you modify a fact, then it effectively makes the fact "new" so - yes, the xor-group does not then apply.

On 10/19/06, Joj < [EMAIL PROTECTED]> wrote:

hi,

imagine 3 rules under a XOR-GROUP, say "ONE", in a rule excel.
each rule has a PRIORITY, say 1,2 and 3 respectively.
UNLOOP is true for each.
All rules work on a single object; Each read & modify it if LHS is true.
modify(obj) is a statement in each rule.

When rules fire, if all rules are true:
ALL rules are executed in the order of priority eventhough all are under a
XOR-GROUP!

If there's NO modify(obj);
ONLY the rule with top priority will be fired!

WHY is it so? Does it mean tht there's no meaning in XOR-GROUP if modify()
is used?


thanx,
i'm tired   ;)
jojan



--
View this message in context: http://www.nabble.com/modify%28object%29-and-XOR-GROUP-tf2474190.html#a6899174
Sent from the drools - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to