<br>   Accumulate functions are completely pluggable in Drools. Drools ships with a few out of the box (min, max, sum, etc), but there is no perf difference between the out of the box and the user defined ones, as the out of the box functions are implemented in the exact same way and you can even use them as examples to create your own functions.<br>
<br>   Check drools expert documentation on the &quot;accumulate&quot; section. Also, this blog shows how to implement your own:<br><br><a href="http://blog.athico.com/2009/06/how-to-implement-accumulate-functions.html">http://blog.athico.com/2009/06/how-to-implement-accumulate-functions.html</a><br>
<br>   []s<br>   Edson<br><br><div class="gmail_quote">2010/1/11 Ahmed Hafsi <span dir="ltr">&lt;<a href="mailto:hafsi@fzi.de">hafsi@fzi.de</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi guys,<br>
<br>
I have found in the documentation examples in sliding windows part, the<br>
average aggregate , I need other aggregates like max. min , standard<br>
deviation ... is there any of those already buitin ? I have searching the<br>
docus. , but havn&#39;t found much dealing with the built in aggregate<br>
functions.<br>
Also if I want to implement one of them using normal rules , Is it true that<br>
it will not be as sufficient ?<br>
<br>
Thanks,<br>
k-<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>  Edson Tirelli<br>  JBoss Drools Core Development<br>  JBoss by Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>