Re: [rules-users] decision tables and default rules for case when part of LHS failes for other rules

2011-07-12 Thread Nirmal
If condition 1 column is left blank, this could be achieved. On Tue, Jul 12, 2011 at 11:56 AM, Syargey wrote: > Hi all, > > I have been asked to add default rules to a decision table. > > We have a decision table with several conditions. Data from first two > columns are passed to action with bi

[rules-users] Backward chaining

2011-06-04 Thread Nirmal Fernando
Hi, Is there any documentation available regarding Drools backward chaining? Thanks. -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka. Blog: http://nirmalfdo.blogspot

[rules-users] Thread hung while trying to addKnowledgePackages

2011-05-27 Thread nirmal
at org.drools.reteoo.ReteooRuleBase.addPackages(ReteooRuleBase.java:430) at org.drools.impl.KnowledgeBaseImpl.addKnowledgePackages(KnowledgeBaseImpl.java:143) Thanks, Nirmal -- View this message in context: http://drools.46999.n3.nabble.com/Thread-hung-while-trying-to-addKnowled

Re: [rules-users] Replacement for eval

2010-11-16 Thread Nirmal Fernando
ce, you could rename > emptyMessageFinder() to isMessageFound() or getMessageFound() and your > condition would look like this: > > when > m : Message(messageFound == true) > then > ... > end > > And when you do this the rete is used, birds sing in the trees, and wo

[rules-users] Replacement for eval

2010-11-16 Thread Nirmal Fernando
//can I use eval here?? .. If someone can answer these questions it would be a great help! Thank you in advance! -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka. Blog: http://nir

Re: [rules-users] Replacing Hand Written Rules

2010-10-31 Thread Nirmal Fernando
have defined? > Not really, I think this is drools eval function. Ok, let me ask you like this, if I give you the following rule, can you write an equivalent drools rule? IF _psubj(be,$var0) ^ NOT date($var0) ^ NOT $var0=$Time THEN ^1_Existence:Entity(be,$var0) Thanks for the great help! &g

Re: [rules-users] Replacing Hand Written Rules

2010-10-31 Thread Nirmal Fernando
Var[0]+")")) && eval(!p.existence("date("+p.conceptVar[0]+")")) && eval(!p.testVar(p.conceptVar[0],"$Time")) ) then eval(p.AppendRule(" ^1_Existence:Entity(be,"+p.conceptVar[0]+")")); end Thanks. >

Re: [rules-users] Replacing Hand Written Rules

2010-10-31 Thread Nirmal Fernando
Another Rule > System? > Can you provide a sample? > > > 2010/10/31 Nirmal Fernando > >> Hi, >> >> I am having a 5000+ hand written rules which is used in an open source >> project. >> I am searching for the reasons, me to be shifted to a rule engine like &

[rules-users] Replacing Hand Written Rules

2010-10-31 Thread Nirmal Fernando
st of benefits that I will be getting. Thanks. -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka. Blog: http://nirmalfdo.blogspot.com/ ___ rules-user

[rules-users] Few inquiries about Drools

2010-09-29 Thread Nirmal Fernando
using "Crisp Logic"? (we can only insert "facts" that are true/false) 3) Whether Drools allow to intermingle the RuleBase and the WorkingMemory? Hope to hear from you! Thanks. -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering