Re: [rules-users] rule using sliding window

2009-06-02 Thread Edson Tirelli
---Original Message- > *From:* rules-users-boun...@lists.jboss.org [mailto: > rules-users-boun...@lists.jboss.org] *On Behalf Of *Edson Tirelli > *Sent:* Monday, June 01, 2009 6:48 PM > *To:* Rules Users List > *Subject:* Re: [rules-users] rule using sliding window > > > &

RE: [rules-users] rule using sliding window

2009-06-01 Thread Bhushan Bhangale
..@lists.jboss.org] On Behalf Of Edson Tirelli Sent: Monday, June 01, 2009 6:48 PM To: Rules Users List Subject: Re: [rules-users] rule using sliding window Hi The description you have bellow is ambiguous, so I can't give you a definitive answer. But it seems to be that you don't ne

Re: [rules-users] rule using sliding window

2009-06-01 Thread Edson Tirelli
Hi The description you have bellow is ambiguous, so I can't give you a definitive answer. But it seems to be that you don't need sliding windows for that. Simple temporal operators will do. > Secondly if the window is large and number of records coming in is high then could there be a memor

[rules-users] rule using sliding window

2009-06-01 Thread Bhushan Bhangale
I am using Drools 5. I am struggling to write rule for this logic - If a stock price changes more than 10% within an hour then report the change. I understand I have to use sliding window feature but unable to write the rule. For example I got an update for IBM stock @ 12:30 for price 100 and th