[rules-users] Finding Average using sliding window

PriyaSha nash.8103 at gmail.com
Sat Jun 6 07:45:48 EDT 2009


Do anybody have answer for this?

Also, rules get fired over facts in the LIFO order. How can I make it to
FIFO?


PriyaSha wrote:
> 
> I've read through the fusion document...But am clueless on getting average
> over a fixed time window...
> 
> In the stocktick sample, using sliding window I could get average for
> every event happening. 
> 
> But I would like to get the average for a fixed time window.
> 
> For example, if I would like to know the average stockprice of 'RHAT' for
> every fixed window of 30s, how this can be achieved in drools fusion?
> 

-- 
View this message in context: http://www.nabble.com/Finding-Average-using-sliding-window-tp23827973p23901049.html
Sent from the drools - user mailing list archive at Nabble.com.




More information about the rules-users mailing list