[rules-users] Drools 5.5.0 CR1 - Negation of Fact patterns

Lukas Stampf Lukas.Stampf at gmx.at
Thu Oct 25 12:24:07 EDT 2012


The first one fires once when there is no Cheese with name "Cheddar"
The second one fires for each Cheese whose name is not "Cheddar"

kind regards,
Lukas Stampf

On 10/25/2012 06:12 PM, Esteban de Ortúzar wrote:
> Hello, what is the difference with both sentence?
>
> not Cheese( name == "Cheddar" )
>
> and
>
> Cheese( name != "Cheddar" )
>
> It's the performance?
>
> Thanks in advance
>
>
> ------
>
> Atte.
>
> *Ing. Esteban de Ortúzar*
>
>
> http://www.linkedin.com/in/estebandeortuzar 
> <http://www.linkedin.com/pub/a/290/b30>
>
> PSi no es necesario no imprima este correo. Todos somos responsables 
> por el cuidado del medio ambiente
>
>
>
>
> _______________________________________________
> 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/20121025/85117823/attachment.html 


More information about the rules-users mailing list