On Fri, 24 Feb 2012 01:30:14 +0100 Amedeo Rinaldo wrote:
> And now the real answer to you Martin.. > I cannot write tons of "meta __FLAG_X (!THIS_RULE > && !THIS_OTHER_RULE && ..)" > I need some sort of match like "if AllFiredRules in (RuleA, RuleB, > RuleC, ...) -> raise __FLAG_Y". That is a simple RuleA && RuleB ... meta > And some like .. "if AllFiredRulesTotalNumber </> CustomThreshould1 > then raise __FLAG_Z" > Now I don't know how I can do that.. I've just started to ask for the > "fired rules number" :-) What you can do is count rule like this: meta __FLAG_Z (rule1 + rule2 + rule3 + ... + ruleN) >= 3 or even better create your own parallel scoring system like this: meta __FLAG_Z ( 1.1*rule1 + 0.2*rule2 + ... + 2.9*ruleN) >= 5.0