[rules-users] Compound rules?
Edson Tirelli
tirelli at post.com
Tue May 27 11:17:04 EDT 2008
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20080527/894a75c0/attachment.html
More information about the rules-users
mailing list