Thanks very much
[EMAIL PROTECTED] wrote:
I think Dheeraj Kakar wrote:Hello Jess users,Quoting from the manual: " A rule containing an 'or' conditional element with n branches is precisely equivalent to n rules, each of which has one branch as its left hand side. In fact, this is how the or conditional element is implemented: Jess internally generates one new rule for each branch." If both branches of an OR are matched, does it lead to multiple activations?Yes. If this isn't what you ant, then if the right-hand-side takes some measurable action, then you can add a negated pattern to the left-hand-side to detect whether this has occurred yet; i.e., (defrule foo (or (a) (b)) (not (c)) => (assert (c))) --------------------------------------------------------- Ernest Friedman-Hill Distributed Systems Research Phone: (925) 294-2154 Sandia National Labs FAX: (925) 294-2234 PO Box 969, MS 9012 [EMAIL PROTECTED] Livermore, CA 94550 http://herzberg.ca.sandia.gov -------------------------------------------------------------------- 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]. --------------------------------------------------------------------
--
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/
Your favorite stores, helpful shopping tools and great gift ideas. Experience the convenience of buying online with [EMAIL PROTECTED] http://shopnow.netscape.com/
