r1 is fired, r1b is not (which is the desired behavior).

> From: ejfr...@sandia.gov
> To: jess-users@sandia.gov
> 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                            ejfr...@sandia.gov
> Livermore, CA 94550                             http://www.jessrules.com
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
> To unsubscribe, send the words 'unsubscribe jess-users y...@address.com'
> in the BODY of a message to majord...@sandia.gov, NOT to the list
> (use your own address!) List problems? Notify owner-jess-us...@sandia.gov

Reply via email to