Hi, I need to know if a there is a possibility to have a partial match for a rule. For
instance, let's concider rule 1:
rule "rule 1"
when
o : MyObject(field1=="A" && field2=="B" &&
field3=="C")
then
//
end
I have a MyObject with values ("A", "B", "X") that would
normally not match the rule.
Is there a way to have a partial match? Something like "rule 1 matches at 66%"
?
My aim is to find the best rule to fire, the one that has the highest partial matches.
Thank you in advance.
Houssam
P.S: I can't break rule 1 into multiple rules because I have a large number of
"fieldsN".
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now.
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ