Re: JESS: Time-varying methods inside a and in a test
"Wolfgang Laun" <[email protected]> Tue, 19 Jul 2011 14:36:05 +0200
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <CANaj1Le-UumCKvZ0DFcQVB9v6-5GqWVt8iThr7de3TQup2GFRA@mail.gmail.com> |
It would be interesting to see these functions. Basically I'm inclined to believe that this is not possible without some weird side effect achieved by one of the functions. -W On 18 July 2011 19:42, Skeptic . <[email protected]> wrote: > > > 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] >