[rules-users] Compound rules?

Jayne jayne2520 at gmail.com
Tue May 27 11:57:40 EDT 2008


/facesplat

Thank you! Now of course its really obvious. I was really over thinking
this.

- Jayne

On Tue, May 27, 2008 at 10:17 AM, Edson Tirelli <tirelli at post.com> wrote:

>
>    Do you mean:
>
> rule "There is at least one set of marbles"
> when
>    exists( Marble( color == "red" ) and
>                Marble( color == "blue" ) and
>                Marble( color == "yellow" )
>              )
> then
>    //  there is at least one set of marbles
> end
>
>    []s
>    Edson
>
>
> 2008/5/27 Jayne <jayne2520 at gmail.com>:
>
>> Hi All,
>>
>> Newbie terminology question: what do you call it when you want to assert
>> the state of several objects in working memory?
>>
>> Example: your working memory is full of marble objects. I know how to test
>> each marble for color, but if there is a red marble, a blue marble and a
>> yellow marble then I have enough marbles for a set. How can test the state
>> of the working memory? Is this possible with Drools?
>>
>> Thanks,
>>    Jayne2520
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>
>
> --
> Edson Tirelli
> JBoss Drools Core Development
> Office: +55 11 3529-6000
> Mobile: +55 11 9287-5646
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080527/56ea2632/attachment.html 


More information about the rules-users mailing list