Mark Proctor wrote:
> It seems I have misunderstood the documentation- the sequential mode
>
(
https://hudson.jboss.org/hudson/job/drools/lastSuccessfulBuild/artifact/t...)
> 3.3.7.1:
>
> "Order the Rules by salience and position in the ruleset (by setting a
> sequence attribute on the rule terminal node)."
>
Sequential mode first evaluates all of the LHS. Which results in a
single conflict set. It then evaluates the conflict set in salience and
rule order. Modifying values will not result in the LHS being
re-evaluated.
Mark
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users
Great, thanks for the explanation. Does it mean, that sequential mode
shouldn't be used in a scenario, where particular rules modify facts in the
way that allows other rules to evaluate. Eg. rules 1-10 define "region"
value by matching zip-codes and rules 11-20 calculate premium based on the
"region" and customer's age.
Bartosz
--
View this message in context:
http://n3.nabble.com/Sequential-mode-help-tp68511p68941.html
Sent from the Drools - User mailing list archive at
Nabble.com.