[rules-users] agenda-groups

Vincent LEGENDRE vincent.legendre at eurodecision.com
Mon May 7 09:42:54 EDT 2012


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 at gmail.com>
À: rules-users at lists.jboss.org
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 at lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users



More information about the rules-users mailing list