[rules-users] infinite loop controlling

2007-10-23 Thread Isabelle Hupont
Hi! I'm developing a software where the user creates his own rules, saves then, and finally fires them in order to preprocess a set of data. I have implemented a method for controlling infinite loops (its simply a timer). I would like to notify to the user the rule that has caused the infinite lo

Re: [rules-users] accumulate funtion in xml

2007-09-28 Thread Isabelle Hupont
Hi Fernando!! I have fixed the problem... I didn't changed drools v3 modify(_i) statement by drools v4 update(-i). Now everything works well! Thanks a lot for your attention. Isabelle Hupont wrote: > > Sorry!! I mixed the .class and. java files!! ;) > Here is the source code

Re: [rules-users] accumulate funtion in xml

2007-09-28 Thread Isabelle Hupont
thx! http://www.nabble.com/file/p12935779/Instance.java Instance.java Fernando Meyer Camargo wrote: > > Hi isabelle, > > When I said instance class, I was meaning your instance source code ;) > > Regards > > On 9/28/07, Isabelle Hupont <[EMAIL PROTECTED]> wrote:

Re: [rules-users] accumulate funtion in xml

2007-09-27 Thread Isabelle Hupont
Hi Fernando! Mi Instance class is the Weka class I attach Thanks for your attention. Isabelle. http://www.nabble.com/file/p12935480/Instance.class Instance.class Fernando Meyer Camargo wrote: > > Could you please provide your Instance class ? > > > On 9/27/07, Isabelle

[rules-users] accumulate funtion in xml

2007-09-27 Thread Isabelle Hupont
Hi! I want to program the following drl rule in xml: rule "average calculation" no-loop true when _i : Instance() _average : Double() from accumulate(accInst: Instance(),

[rules-users] problems with BRMS

2007-09-10 Thread Isabelle Hupont
Hi! I'm running insurance example in the BRMS web interface with Tomcat, and it works well. But when I try to create my own new rules or DSL language and save them, I have a java.lang.ClassNotFoundException: org.drools.brms.client.rpc.RuleAsset. Is it a bug? Is there any problem using Tomcat? --

Re: [rules-users] parsing error using accumulate

2007-09-06 Thread Isabelle Hupont
edia : Number( doubleValue > 5) > from accumulate( Instance( $value : classValue > ), > average($value)) > then > System.out.println(media ); > end > >[]s >

[rules-users] parsing error using accumulate

2007-09-06 Thread Isabelle Hupont
Hi! I'm integrating Weka with Drools v.4 and I have a parsing error while trying to read the following DRL rule: rule "calculate average" when $inst : Instance() $media : Double(double value > 5) from accumulat

[rules-users] fit-for-rules documentation

2007-04-13 Thread Isabelle Hupont
Hi, I'm working on a JBoss-Rules-based decision project and I would like to create a scenario manager in order to make “what if” scenario testing. I have seen that Fit-to-rules would be of great interest for my work but, unfortunately, I didn't found much information about it. Could you please te