[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.com/ ___

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
Hi, I have two questions. 1) Is there any other way/method in Drools to test the truth value of a condition other than "eval"? In almost all rules of my application needs to test conditions, and it takes ages to run using "eval". 2) Say I have a java method which returns a boolean, and I have us

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
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 Drools, instead of using hand written once. Drools rules can be debugged that will be a plus point, isn't it? I would love to get a list of ben

[rules-users] Few inquiries about Drools

2010-09-29 Thread Nirmal Fernando
Hi, We are thinking of using Drools rules engine, for our application. But we have few questions, that we would really happy to get explanations about. 1) Is the latest version Drools 5.1 supports backward chaining? If so since which release you started to support backward chaining? 2) Are you u