主权项 |
1. A computer implemented method to identify a best match in a decision table, the method comprising:
the computer, receiving an input combination of at least one condition value to be evaluated against at least one rule of the decision table, wherein the at least one rule includes at least one condition associated with a result; the computer, evaluating the at least one rule against the input combination to determine conditions fulfilled for the at least one condition value by:
evaluating each condition of each rule from the at least one rule, wherein each condition is associated with a weight, andfor each fulfilled condition, adding a weight associated with the fulfilled condition to determine a rank of a corresponding rule; determining a rule from the at least one rule with the highest rank; and outputting a result associated with the rule with the highest rank. |