On Oct 17, 2008, at 9:06 AM, Henrique Lopes Cardoso wrote:
;--- The rule fires in both runs. Is this the intended behavior?
It's traditional behavior for Rete engines, yes.
Is there a way to prevent the rule from firing in the second run?
Only by having the rule assert a fact indicating it's already fired, and matching the negation of that fact on the LHS of the rule.
Henrique
--------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences, Sandia National Laboratories PO Box 969, MS 9012, Livermore, CA 94550 http://www.jessrules.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] --------------------------------------------------------------------
