Re: [rules-users] accumulate funtion in xml

2007-09-28 Thread Fernando Meyer
Hi Isabelle, I didn't paid enough attention to your rhs block :) You are welcome and tks for your feedbak. On 9/28/07, Isabelle Hupont <[EMAIL PROTECTED]> wrote: > > > Hi Fernando!! > > I have fixed the problem... I didn't changed drools v3 modify(_i) > statement > by drools v4 update(-i). > Now

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. I also paste th

Re: [rules-users] accumulate funtion in xml

2007-09-28 Thread Isabelle Hupont
Sorry!! I mixed the .class and. java files!! ;) Here is the source code. I also paste the code I am using to read the rule package: public RuleBase readRulePackage() throws PersistenceException{ // Reads a set of rules from XML file try {

Re: [rules-users] accumulate funtion in xml

2007-09-28 Thread Fernando Meyer
Hi isabelle, When I said instance class, I was meaning your instance source code ;) Regards On 9/28/07, Isabelle Hupont <[EMAIL PROTECTED]> wrote: > > > Hi Fernando! > > Mi Instance class is the Weka class I attach > Thanks for your attention. > Isabelle. > http://www.nabble.com/file/p129354

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 Hupont <[EMAIL P

Re: [rules-users] accumulate funtion in xml

2007-09-27 Thread Fernando Meyer
Could you please provide your Instance class ? On 9/27/07, Isabelle Hupont <[EMAIL PROTECTED]> wrote: > > > Hi! > > I want to program the following drl rule in xml: > > rule "average calculation" > no-loop true > when > _i : Instance() > _average :

[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(),