[rules-users] ReteOO, KnowledgeBase and KnowledgeSession relation

2014-01-28 Thread Harpreet Singh
Hi,

I understand that the ReteOO network is built when a KnowledgeBase is created. 
Can you please tell me:
- if any modifications are made to this network after a session (say 
StatefulKnowledgeSession) has been created from this KnowledgeBase?
- any optimizations made at the session level? (such that time taken to fire 
rules decreases when certain set of facts are re-inserted and rules re-executed)

I could not find any explanation in Drools Expert documentation regarding the 
above two points. Any pointers explaining the relation between ReteOO, 
KnowledgeBase and KnowledgeSession will be helpful.

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

Re: [rules-users] ReteOO, KnowledgeBase and KnowledgeSession relation

2014-01-28 Thread Mark Proctor

On 29 Jan 2014, at 00:50, Harpreet Singh harpreet2...@yahoo.com wrote:

 Hi,
 
 I understand that the ReteOO network is built when a KnowledgeBase is 
 created. Can you please tell me:
 - if any modifications are made to this network after a session (say 
 StatefulKnowledgeSession) has been created from this KnowledgeBase?
Not unless you add or remove rules.
 - any optimizations made at the session level? (such that time taken to fire 
 rules decreases when certain set of facts are re-inserted and rules 
 re-executed)
no, not if you have to re-insert all data.
 
 I could not find any explanation in Drools Expert documentation regarding the 
 above two points. Any pointers explaining the relation between ReteOO, 
 KnowledgeBase and KnowledgeSession will be helpful.
 
 Thanks. 
  
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

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