[rules-users] drools query

Greg Barton greg_barton at yahoo.com
Wed Dec 10 21:21:40 EST 2008


I was thinking the accumulate would give you the value, then match the the Person with that value.

--- On Wed, 12/10/08, Edson Tirelli <tirelli at post.com> wrote:

> From: Edson Tirelli <tirelli at post.com>
> Subject: Re: [rules-users] drools query
> To: "Rules Users List" <rules-users at lists.jboss.org>
> Date: Wednesday, December 10, 2008, 6:04 PM
> Well, the goal of these approaches is a bit different. The
> accumulate
> function will give you the actual value of the minimum age,
> while the rule
> pattern approach will give you the Person whose age is the
> minimum age.
> 
>    []s
>    Edson
> 
> 2008/12/10 Steven Williams <stevearoonie at gmail.com>
> 
> > Yeah - that discussion was before drools had the
> accumulate function.
> >
> >
> > On Thu, Dec 11, 2008 at 10:16 AM, Greg Barton
> <greg_barton at yahoo.com>wrote:
> >
> >> That approach looks a bit cartesian joiny. 
> I'd be interested in seeing
> >> how it compares to using accumulate.
> >>
> >> --- On Wed, 12/10/08, Steven Williams
> <stevearoonie at gmail.com> wrote:
> >>
> >> > From: Steven Williams
> <stevearoonie at gmail.com>
> >> > Subject: Re: [rules-users] drools query
> >> > To: "Rules Users List"
> <rules-users at lists.jboss.org>
> >> > Date: Wednesday, December 10, 2008, 4:59 PM
> >> > Have a look here
> >> > http://www.jboss.org/community/docs/DOC-11909
> (this is to
> >> > find the max so just reverse it)
> >> >
> >> > cheers
> >> > Steve
> >> >
> >> > On Thu, Dec 11, 2008 at 9:48 AM, tati-2
> >> > <tatyana.polnyi at jpmchase.com> wrote:
> >> >
> >> > >
> >> > > How to extract min age of many objects
> of the same
> >> > type "People" , which we
> >> > > inserted in the workspace ?
> >> > >
> >> > > Thank you very much in advance for help.
> >> > > --
> >> > > View this message in context:
> >> > >
> >> >
> http://www.nabble.com/drools-query-tp20945811p20945811.html
> >> > > Sent from the drools - user mailing list
> archive at
> >> > Nabble.com.
> >> > >
> >> > >
> >> > >
> _______________________________________________
> >> > > rules-users mailing list
> >> > > rules-users at lists.jboss.org
> >> > >
> https://lists.jboss.org/mailman/listinfo/rules-users
> >> > >
> >> >
> >> >
> >> >
> >> > --
> >> > Steven Williams
> >> >
> >> > Supervising Consultant
> >> >
> >> > Object Consulting
> >> > Office: 8615 4500 Mob: 0439 898 668 Fax: 8615
> 4501
> >> > steven.williams at objectconsulting.com.au
> >> > www.objectconsulting.com.au
> >> >
> >> > consulting | development | training | support
> >> > our experience makes the difference
> >> >
> _______________________________________________
> >> > rules-users mailing list
> >> > rules-users at lists.jboss.org
> >> >
> https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >>
> >>
> >> _______________________________________________
> >> rules-users mailing list
> >> rules-users at lists.jboss.org
> >>
> https://lists.jboss.org/mailman/listinfo/rules-users
> >>
> >
> >
> >
> > --
> > Steven Williams
> >
> > Supervising Consultant
> >
> > Object Consulting
> > Office: 8615 4500 Mob: 0439 898 668 Fax: 8615 4501
> > steven.williams at objectconsulting.com.au
> > www.objectconsulting.com.au
> >
> > consulting | development | training | support
> > our experience makes the difference
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
> 
> 
> -- 
>  Edson Tirelli
>  JBoss Drools Core Development
>  JBoss, a division of Red Hat @ www.jboss.com
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users


      



More information about the rules-users mailing list