This is what I figured. I am having an issue where I have a catch all
retraction rule setup as the lowest salience. I see activations created for
the facts but they are never fired. Any thoughts on why this may happen?
The session is run on a separate thread with fireAllRules called every 1/2
second. I have tried syncronizing inserts on the session so that thread
would not be in the middle of firing when new facts come in but that does
not seem to do anything....
Vincent Legendre wrote
It reminds me some discussion here about rule base partitionning ...
I am not part of dev team, but I am quite sure that agenda-group (as for
ruleflow groups) behaves just like any other agenda filter.
All candidates rules are added to the agenda (so yes, taking all facts in
account, ie evaluate the whole RETE network), but only some (those with
the current group) can be executed.
The big difference with a basic agenda filter is relative to "which is the
next current group" method :
- agenda-group : once the agenda has no more rules of this group, the
current group is popped thus the previous current group become the new
current one (if stack is empty, go back to MAIN group)
- ruleflow-group : once the agenda has no more rules of this group, the
ruleflow is used to set the next current group
----- Mail original -----
De: "gboro54" <gboro54@>
À: rules-users@.jboss
Envoyé: Lundi 7 Mai 2012 15:30:48
Objet: [rules-users] agenda-groups
If you specify agenda-groups on rules, then in the rule set have rules
which
will set focus onto that agenda-group does the group of rules only use the
facts which cause the group to be pushed to the stack or does it evaluate
all objects in working memory?
--
View this message in context:
http://drools.46999.n3.nabble.com/agenda-groups-tp3968541.html
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users@.jboss
https://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users@.jboss
https://lists.jboss.org/mailman/listinfo/rules-users