From: <jbo...@li...> - 2006-04-23 18:38:50
|
Author: woolfel Date: 2006-04-23 14:38:45 -0400 (Sun, 23 Apr 2006) New Revision: 3927 Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_0shared.drl labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_1shared.drl labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_2shared.drl labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_3shared.drl labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_4shared.drl labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_5shared.drl Log: adding rules with 2 CE and different number of shared nodes peter Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_0shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_0shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_0shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc0", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc1", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc2", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc3", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc4", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc5", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc6", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc7", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc8", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc9", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc10", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc11", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc12", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc13", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc14", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc15", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc16", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc17", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc18", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(accountId == "acc19", city == "boston", state == "ma", houseType == "single family", status == "not listed") + then + System.out.println("rule19 fired"); +end + Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_1shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_1shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_1shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma0", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma1", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma2", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma3", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma4", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma5", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma6", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma7", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma8", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma9", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma10", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma11", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma12", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma13", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma14", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma15", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma16", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma17", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma18", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma19", houseType == "single family", status == "not listed", country == "usa") + then + System.out.println("rule19 fired"); +end + Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_2shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_2shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_2shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family0", status == "not listed", country == "usa") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family1", status == "not listed", country == "usa") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family2", status == "not listed", country == "usa") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family3", status == "not listed", country == "usa") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family4", status == "not listed", country == "usa") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family5", status == "not listed", country == "usa") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family6", status == "not listed", country == "usa") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family7", status == "not listed", country == "usa") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family8", status == "not listed", country == "usa") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family9", status == "not listed", country == "usa") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family10", status == "not listed", country == "usa") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family11", status == "not listed", country == "usa") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family12", status == "not listed", country == "usa") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family13", status == "not listed", country == "usa") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family14", status == "not listed", country == "usa") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family15", status == "not listed", country == "usa") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family16", status == "not listed", country == "usa") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family17", status == "not listed", country == "usa") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family18", status == "not listed", country == "usa") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family19", status == "not listed", country == "usa") + then + System.out.println("rule19 fired"); +end + Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_3shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_3shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_3shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed0", country == "usa") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed1", country == "usa") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed2", country == "usa") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed3", country == "usa") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed4", country == "usa") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed5", country == "usa") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed6", country == "usa") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed7", country == "usa") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed8", country == "usa") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed9", country == "usa") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed10", country == "usa") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed11", country == "usa") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed12", country == "usa") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed13", country == "usa") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed14", country == "usa") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed15", country == "usa") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed16", country == "usa") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed17", country == "usa") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed18", country == "usa") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed19", country == "usa") + then + System.out.println("rule19 fired"); +end + Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_4shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_4shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_4shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa0") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa1") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa2") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa3") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa4") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa5") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa6") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa7") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa8") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa9") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa10") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa11") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa12") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa13") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa14") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa15") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa16") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa17") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa18") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa19") + then + System.out.println("rule19 fired"); +end + Added: labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_5shared.drl =================================================================== --- labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_5shared.drl 2006-04-23 16:25:31 UTC (rev 3926) +++ labs/jbossrules/trunk/drools-examples/src/test/resources/com/sample/benchmark/20rules_2CE_5shared.drl 2006-04-23 18:38:45 UTC (rev 3927) @@ -0,0 +1,164 @@ +package org.drools.samples +import com.sample.benchmark.models.Account; +import com.sample.benchmark.models.Address; + +rule rule0 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc0") + then + System.out.println("rule0 fired"); +end + +rule rule1 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc1") + then + System.out.println("rule1 fired"); +end + +rule rule2 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc2") + then + System.out.println("rule2 fired"); +end + +rule rule3 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc3") + then + System.out.println("rule3 fired"); +end + +rule rule4 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc4") + then + System.out.println("rule4 fired"); +end + +rule rule5 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc5") + then + System.out.println("rule5 fired"); +end + +rule rule6 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc6") + then + System.out.println("rule6 fired"); +end + +rule rule7 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc7") + then + System.out.println("rule7 fired"); +end + +rule rule8 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc8") + then + System.out.println("rule8 fired"); +end + +rule rule9 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc9") + then + System.out.println("rule9 fired"); +end + +rule rule10 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc10") + then + System.out.println("rule10 fired"); +end + +rule rule11 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc11") + then + System.out.println("rule11 fired"); +end + +rule rule12 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc12") + then + System.out.println("rule12 fired"); +end + +rule rule13 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc13") + then + System.out.println("rule13 fired"); +end + +rule rule14 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc14") + then + System.out.println("rule14 fired"); +end + +rule rule15 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc15") + then + System.out.println("rule15 fired"); +end + +rule rule16 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc16") + then + System.out.println("rule16 fired"); +end + +rule rule17 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc17") + then + System.out.println("rule17 fired"); +end + +rule rule18 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc18") + then + System.out.println("rule18 fired"); +end + +rule rule19 + when + $acc : Account(status == "standard") + $addr : Address(city == "boston", state == "ma", houseType == "single family", status == "not listed", country == "usa", accountId == "acc19") + then + System.out.println("rule19 fired"); +end + |