Thanks for the reply.
I think I was not up to the point. Modifying facts re-executes the rules to
maintain the truth. In my case, I want to pass the data between the rules
and also do not want rules to execute again. I know if no-loop option is
specified, it will not be re-executed however I do not want rule engine to
even go & check for no-loop option (which is additional work).
I may be wrong as I am new to drools.
Thanks,
Adhir
On Wed, Mar 23, 2011 at 11:48 AM, Mark Proctor <mproctor(a)codehaus.org>wrote:
On 23/03/2011 05:46, Adhir Mehta wrote:
Hi,
I have written the rule DRL file having around 30 rules in it. Some of
the rules do intermediate calculation and those calculation result is
expected in the other rules in same DRL file. I can do this by modifying the
facts objects in one rule and get the value in other rule. However,
modifying the facts object rebuild the RETE tree and affects the
performance. Is there any way by which I can pass the data across the rules
in same DRL file without rebuilding the RETE tree. (I am more concerned
about the performance)
Please continue this conversation on the USER mailing list
http://www.jboss.org/drools/lists.html
Modifying facts does not rebuild the rete. Adding/Removing rules causes
changes to Rete tree.
Thanks,
Adhir
_______________________________________________
rules-dev mailing
listrules-dev@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev