Minsk,

  Are you asking for the source code of these functions or for an example of
use?
  The source code for the accumulate functions we ship with drools is here:

http://anonsvn.labs.jboss.com/labs/jbossrules/trunk/drools-core/src/main/java/org/drools/base/accumulators/

   Including source codes for min and max functions.
   The usage is similar to the others showed in the docs. Maybe we need to
improve docs:

Number( $max : intValue ) from accumulate( Cheese( $price : price ), max(
$price ) )

   []s
   Edson

2007/10/8, Chong Minsk Goh < [EMAIL PROTECTED]>:
>
> Hi Everyone,
>
> I am currently trying to write customize Java codes for
> MinAccumulateFunction and MaxAccumulateFunction. However, I could not find
> any guidelines or templates for these two (there is one for sum and avg in
> the Documentation).
>
> Could anyone provide some resources or examples how to write these
> functions?
>
>
>
> Much appreciated
> Minsk
>
> _______________________________________________
> rules-users mailing list
> [email protected]
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>


-- 
  Edson Tirelli
  Software Engineer - JBoss Rules Core Developer
  Office: +55 11 3529-6000
  Mobile: +55 11 9287-5646
  JBoss, a division of Red Hat @ www.jboss.com
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to