RE: [rules-users] Drools 4 poor performance scaling?

2008-07-24 Thread raj_drools
hi , please provide more information on the above technique . Let me put what i have understood from the above explanation . u have around 700k - 900k total facts. first u are inserting single fact ie (ColdStarting fact) and retracts it ( how to retract it ?) when all the Jobs and

Re: [rules-users] How to avoid circular rule activation for non circular problems?

2008-07-24 Thread Marcus Ilgner
On Thu, Jul 24, 2008 at 3:28 PM, Ralph Ammon [EMAIL PROTECTED] wrote: I'd like to get some hints to improve the rules of my simple planning system. My simple planning system is derived from the HelloWorld Drools Project. The job of my planning system is to calculate startTime and endTime as

[rules-users] How to avoid circular rule activation for non circular problems?

2008-07-24 Thread Ralph Ammon
I'd like to get some hints to improve the rules of my simple planning system. My simple planning system is derived from the HelloWorld Drools Project. The job of my planning system is to calculate startTime and endTime as function of duration and predecessors for each task. Each task has the

Re: [rules-users] generic properties

2008-07-24 Thread thomas kukofka
Thanks, but I've still Problems if I try to use io: InputObject ( stringParameters[InputObject.Parameter.ParameterName] == something) =Field/method 'InputObject' not found for class 'com.rules.InputObject'Rule Compilation error Parameter is an enum witch contains all allowed Parameters of

[rules-users] Is or allowed in a rule? Can I link the rules?

2008-07-24 Thread Yu Wang
I'm a beginner user of Jboss, please bear with my maybe dumb questions: 1. Seems to me that the conditions in a rule are always connected with AND relation: such as the following rule if C1 C2 C3 then D1 it means if C1 and C2 and C3, then D1 Is or allowed? I mean , can I express: if (C1

Re: [rules-users] Is or allowed in a rule? Can I link the rules?

2008-07-24 Thread Ingomar Otter
1. Seems to me that the conditions in a rule are always connected with AND relation: True. AND is the default. Is or allowed? I mean , can I express: if (C1 or C2 or C3) and C4, then D1 in 1 rule? You can have an explicit OR, see section 6.5.2.3 of the 4.0.7 documentation. Can I form a

Re: [rules-users] Is or allowed in a rule? Can I link the rules?

2008-07-24 Thread Yu Wang
Thank you so much for the quick reply! Guess I need to study the documentation more thoroughly. When I say explode, I mean I have to use many rules to represents 1 business rule expressed in human language. I believe the problem can be solved if the two questions in my last email are solved.

AW: [rules-users] How to avoid circular rule activation for noncircular problems?

2008-07-24 Thread Ralph Ammon
Thank you Marcus, with your constraint I got rid of the no-loop true and the endTime is recalculated when needed. So my first problem is really solved! So I tried a similar constraint for the rule Calc StartTime with redecessors rule Calc StartTime with predecessors when