It will occur whenever you (the developer) make it occur.

I guess Rulebase is the RETE network (without memory nodes) and the WM's are
in essence the RETE network memory nodes.

This is my interpretation of their roles.

Here's an example:-

Rulebase
--------
RuleBase ruleBase = RuleBaseFactory.newRuleBase();
ruleBase.addPackage(pkg);

Working Memory
--------------
WorkingMemory wm1 = ruleBase.newStatefulSession();
WorkingMemory wm2 = ruleBase.newStatefulSession();
WorkingMemory wm3 = ruleBase.newStatefulSession();
WorkingMemory wm4 = ruleBase.newStatefulSession();
...

Rulebase 1:n.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of anandhakrishnan
Sent: 28 April 2008 15:30
To: rules-users@lists.jboss.org
Subject: [rules-users] RuleBase relation with working memory


Please Explain, RuleBase 1:n relationship with Working memory, when will it
occur.
Please give an example....

thanks In Advance
-- 
View this message in context:
http://www.nabble.com/RuleBase-relation-with-working-memory-tp16940200p16940
200.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to