[rules-users] Rules Scoring

Waleed Zedan wzedan at gmail.com
Thu Nov 6 05:25:50 EST 2008


Hi,

We are in the process of evaluating JBOSS Drools for our software and so far
Drools found to be a perfect match for most of our requirements.

Recently our customer has requested for a very interesting and important
requirement and its synopysis is given below

Rule
    LHS
       Condition 1 / Condition Group 1    (assoicated weightage is 20)
       Condition 2 / Condition Group 2    (assoicated weightage is 50)
       Condition 3 / Condition Group 3    (assoicated weightage is 30)

    RHS
       Rule Action / Output

While calling the Rule Engine, the Rule Engine client will say "Give me all
the Rule Output for the Rules matching 50% of the LHS"

            i.e. We need to know the percentage of LHS match in the RHS
            Using this percentage, we will call the Rule Action / Output
Sample:

if Condition 2 / Condition Group 2  and Condition 1 / Condition Group 1 are
satisfied, then we need to have 70% (50% + 20%) match in the RHS.

Thanks a lot for your help and time.
-- 
Waleed Zedan
SCJP 1.4 , CCNA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20081106/0f66c324/attachment.html 


More information about the rules-users mailing list