For the moment i plan to implement the conditions and consequences native. Based on these and some user parameters a RuleFactory build native rules. For the future the rules should be written in a dsl.
How does the "condition node sharing" work with the java package? Can i find something in drools-examples? -----Ursprüngliche Nachricht----- Von: Geoffrey Wiseman [mailto:[EMAIL PROTECTED] Gesendet: Montag, 14. November 2005 17:51 An: [email protected] Betreff: Re: [drools-user] Reuse of Conditions On 11/14/05, Kai Ruddies <[EMAIL PROTECTED]> wrote: > > Is it possible to reuse a Condition in another rule? > > In the conway-example the <conway:cellIsAlive/> condition is used in 2 > seperate rules: > [snip] I can't speak for the Conway DSL example; I've not done much with the DSLs, so I don't know what, if anything, you'd have to do in a DSL to get condition node sharing. That said the drools-java package (and, I believe, the Python and Groovy forms) are supposed to do condition sharing naturally. I believe there was some issue with the drools annotated POJOs and condition sharing, that may also be true for Drools-Spring. So -- how are you planning on writing your rules? - Geoffrey -- Geoffrey Wiseman
