RE: JESS: Time-varying methods inside a and in a test
"Skeptic ." <[email protected]> Mon, 18 Jul 2011 13:42:21 -0400
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <[email protected]> |
r1 is fired, r1b is not (which is the desired behavior). > From: [email protected] > To: [email protected] > Subject: Re: JESS: Time-varying methods inside a and in a test > Date: Mon, 18 Jul 2011 13:06:56 -0400 > > Although they do compile into different networks, the effect should be > basically the same. What's the difference you're observing? > > > On Jul 18, 2011, at 11:00 AM, Skeptic . wrote: > > > Hi, > > > > Is there a good reason why a rule like this : > > > > (defrule r1 > > [...] > > (test (and (time-varying call1) (time-varying call2)) > > => > > [...]) > > > > behave differently than one like this : > > > > (defrule r1b > > [...] > > (test (time-varying call1)) > > (test (time-varying call2)) > > => > > [...]) > > > > Thanks ! > > --------------------------------------------------------- > Ernest Friedman-Hill > Informatics & Decision Sciences Phone: (925) 294-2154 > Sandia National Labs > PO Box 969, MS 9012 [email protected] > 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]