Re: [rules-users] Checking for a lack of an object

2011-08-21 Thread Chris Richmond
of the rule engine does not influence this monitoring of truth. -W 2011/8/20 Chris Richmond crichm...@referentia.com mailto:crichm...@referentia.com Well..I insert some objects, fire the rules and this rule will trigger the first time (when it finds no object with those

Re: [rules-users] Checking for a lack of an object

2011-08-19 Thread Chris Richmond
wrote: On 19 August 2011 15:17, Chris Richmond crichm...@referentia.com mailto:crichm...@referentia.com wrote: How do I fire a rule if an object with certain characterstics does not exists. For example my class Foo, if I have a rule: rule Identify Foos with values when

[rules-users] Checking for a lack of an object

2011-08-18 Thread Chris Richmond
How do I fire a rule if an object with certain characterstics does not exists. For example my class Foo, if I have a rule: rule Identify Foos with values when Foo(stringProp==blah, intProp==5) then System.err.println(A Foo was found!); end So how do I check for lack of

Re: [rules-users] Checking for a lack of an object

2011-08-18 Thread Chris Richmond
I forgot to mention I am using a StatefulKnowledgeSession and Stream mode... On 8/19/2011 3:17 AM, Chris Richmond wrote: How do I fire a rule if an object with certain characterstics does not exists. For example my class Foo, if I have a rule: rule Identify Foos with values when

Re: [rules-users] Reclaiming memory usage

2011-07-25 Thread Chris Richmond
the readings in memory forever. Adding a temporal constraint on the ReconfigEvent pattern on your rule or defining an explicit expiration policy for the DataReadings are ways to work around that. Edson 2011/7/26 Chris Richmond crichm...@referentia.com mailto:crichm...@referentia.com

Re: [rules-users] Reclaiming memory usage

2011-07-25 Thread Chris Richmond
for 100 years. Edson 2011/7/26 Chris Richmond crichm...@referentia.com mailto:crichm...@referentia.com Edson, I was under the impression that this: declare ReconfigEvent @role( event ) @expires ( 5s ) end would cover that, meaning that every

Re: [rules-users] order of injected events

2011-07-22 Thread Chris Richmond
. If the order of your concurrently arriving events is essential, you may have to insert an ordinal as a property. Cheers -W On 22 July 2011 11:07, Chris Richmond crichm...@referentia.com mailto:crichm...@referentia.com wrote: I am running a simple test like so: package com.sample

[rules-users] order of injected events

2011-07-21 Thread Chris Richmond
I am running a simple test like so: package com.sample; import org.drools.KnowledgeBase; import org.drools.KnowledgeBaseFactory; import org.drools.builder.KnowledgeBuilder; import org.drools.builder.KnowledgeBuilderError; import org.drools.builder.KnowledgeBuilderErrors; import

[rules-users] Fusion confusion

2011-07-21 Thread Chris Richmond
I have attached my program project with my main FusionMain.java and two small classes and my rule file Sample.drl. It's a zip file i have modified to be .piz for mail server reasons. In the Main I set up and run as STREAM mode session and execute on a background thread .fireUntilHalt().

Re: [rules-users] Fusion confusion

2011-07-21 Thread Chris Richmond
) from entry-point My Stream) then System.err.println(Action); end where the temporal matching predicate must also state the stream I was injecting events to. This seems to work ok, but I would still appreciate feedback. Thanks, Chris On 7/22/2011 1:47 AM, Chris Richmond wrote: I have

Re: [rules-users] Debug as within Eclipse

2010-07-08 Thread chris richmond
Sorry Frank, I gave up on Drools and Eclipse a long time ago Chris On Wed, Dec 2, 2009 at 11:02 AM, chris richmond richmond...@gmail.comwrote: I am using Galileo. Not sure if I downloaded the EE or standard Galileo. 2009/12/2 Leonardo Gomes leonardo.f.go...@gmail.com I've been

Re: [rules-users] April 19th Boot Camp to be open to all

2010-03-16 Thread chris richmond
is this boot camp still open to students? Chris 2010/3/15 David Sinclair dsincl...@chariotsolutions.com Need to come to the east coast some time! 2010/3/15 Mark Proctor mproc...@codehaus.org http://blog.athico.com/2010/03/april-19th-boot-camp-to-be-open-to-all.html We will now be

Re: [rules-users] Debuggin in Eclipse

2009-12-09 Thread chris richmond
have not turned off caching in the Drools preferences. The structure of your process should not matter, as long as your rules are on the classpath. You can easily check whether the drools builder is working, as it should show errors for incorrect syntax in your rule files. Kris Citeren chris

Re: [rules-users] Debuggin in Eclipse

2009-12-08 Thread chris richmond
They are all source folders in eclipse, so they should be. On Mon, Dec 7, 2009 at 6:58 PM, Ross H ross...@gmail.com wrote: Using a FileInputStream works for me with a non standard folder structure. Are all your folders on the eclipse build path? chris richmond-2 wrote: Ok, I have

[rules-users] Debuggin in Eclipse

2009-12-07 Thread chris richmond
Ok, I have a project working with Eclipse Galileo 3.5.1 and it works fine. I can create new drools projects and they debug fine with the DroolsTest example. However I have a very larege existing project that does not use the src/main/java and src/main/rules src folder structure and the project

Re: [rules-users] Eclipse plugin with latest Galileo

2009-12-03 Thread chris richmond
. 2009/12/3 chris richmond richmond...@gmail.com Is anyone successfully using the IDE plugin with the latest Galileo version of Eclipse. I cannot get it to debug using Galileo(my previous post concerning debug as) I tested instlaling the IDE plugin by using the IDE update site link

[rules-users] CEP fusion

2009-12-03 Thread chris richmond
Hello, I have this test rule that basically fires if a followup reading is not received with the appropriate value within some time. According to the fusion docs, simply using: *not*( FollowUpReading(value == $val, *this* before[0s,5s] $reading ) ) should wait 5 seconds before firing, however

Re: [rules-users] CEP fusion

2009-12-03 Thread chris richmond
my zip file attachment was blocked. I will try to attach the source/rule files. modified the standard DroolsTest.java that gets created when you create a new Drools project. Thanks, Chris On Thu, Dec 3, 2009 at 3:07 PM, chris richmond richmond...@gmail.comwrote: here is my eclipse

[rules-users] Testing

2009-12-02 Thread chris richmond
Hello, My emails stopped getting through from my other emal address and as some other users had helped me discover, the filtering/spam or whatever has prevented me from asking questions in the forumn, so I am testing from another email. Thanks, Chris

[rules-users] Debug as within Eclipse

2009-12-02 Thread chris richmond
I used the upate site to update my Eclipse Galileo IDE with the drools tools, created a new drools project, had it add the hello/goodbye test class and pointed my workspace to the 5.1M binaries. It runs fine, but when I Debug As - Drools Application I get the following errors. I get this error

Re: [rules-users] Debug as within Eclipse

2009-12-02 Thread chris richmond
was thinking that maybe more specifically the JEE version, but haven't had the time to test it, so far... Are you using the standard Galileo? Leo. 2009/12/2 chris richmond richmond...@gmail.com I used the upate site to update my Eclipse Galileo IDE with the drools tools, created a new drools

[rules-users] Eclipse plugin with latest Galileo

2009-12-02 Thread chris richmond
Is anyone successfully using the IDE plugin with the latest Galileo version of Eclipse. I cannot get it to debug using Galileo(my previous post concerning debug as) I tested instlaling the IDE plugin by using the IDE update site link on the following versions. I normally use the Galileo, but

[rules-users] Drools bootcamp schedules

2009-11-25 Thread Chris Richmond
Hello all, Is there a list of scheduled boot camps with dates/locations anywhere? I can't seem to find it on the site/blog. Thanks, Chris ___ rules-users mailing list rules-users@lists.jboss.org

[rules-users] 5.10M samples

2009-11-25 Thread Chris Richmond
I loaded the latest (5.1M) sample for fusion into eclipse and it builds and runs, but does anyone else get this exception from time to time? Thanks, Chris = Unexpected exception caught: [Error: cannot invoke getter: getSymbol

[rules-users] Decision tables

2009-10-28 Thread Chris Richmond
Hello, What is the most straightforward example of using a decision table for rules(CSV or Excel) within the sample code? Essentially I want to check if it would work for the usage case where I want the end user to be able to set all sorts of parameter limit values for rules on objects

Re: [rules-users] retrieving agenda-groups from java api

2009-10-14 Thread Chris Richmond
_ From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Chris Richmond Sent: Tuesday, October 13, 2009 11:30 AM To: 'Rules Users List' Subject: [rules-users] retrieving agenda-groups from java api Is there a similar technique

[rules-users] setting globals in rule file

2009-10-14 Thread Chris Richmond
Shouldn't it be possible to set a global variable value within the rule file itself at the top. Something like? global String deviceName = myDevice; I thought you could do that, but consistently get an error saying illegal character '=' expected ( Or something along those

Re: [rules-users] setting globals in rule file

2009-10-14 Thread Chris Richmond
wm.setGlobal(String name, Object value) You could call this in a consequence (RHS), but it's usually not a good idea to do so. What do you want to achieve? -W 2009/10/14 Chris Richmond crichm...@referentia.com Shouldn't it be possible to set a global variable value within the rule file itself

Re: [rules-users] setting globals in rule file

2009-10-14 Thread Chris Richmond
-users] setting globals in rule file You could let the user write some functions such as function String parFoo(){ return foo42; } and evaluate them in a rule firing with high priority on eval(true). -W 2009/10/14 Chris Richmond crichm...@referentia.com Hmm. Well..I have this rule file

Re: [rules-users] setting globals in rule file

2009-10-14 Thread Chris Richmond
] setting globals in rule file You could let the user write some functions such as function String parFoo(){ return foo42; } and evaluate them in a rule firing with high priority on eval(true). -W 2009/10/14 Chris Richmond crichm...@referentia.com Hmm…   Well..I have this rule file and it seems

Re: [rules-users] setting globals in rule file

2009-10-14 Thread Chris Richmond
-users] setting globals in rule file I've used functions with Drools 5, but not with MVEL. A recent thread seemed to indicate a problem with MVEL for functions, though. What you show of your code appears to be OK. -W On Wed, Oct 14, 2009 at 8:35 PM, Chris Richmond crichm...@referentia.com wrote

[rules-users] Latest Drools with Latest Eclipse

2009-10-02 Thread Chris Richmond
Is it possible to run all the latest Drools 5.1.0 with the latest version of Eclipse and the Elipse plugins, etc? Has anyone successfully done this? Also, I remember seeing a link to a testing framework within the IDE on the drools blog at some time, but cannot seem to locate it. Does

Re: [rules-users] retrieving streams/entry points from java api

2009-09-30 Thread Chris Richmond
()); } Edson 2009/9/29 Chris Richmond crichm...@referentia.com Hello, I am trying to determine, iterate the working memory streams within my rule by doing the following: for(WorkingMemoryEntryPoint entry : session.getWorkingMemoryEntryPoints

Re: [rules-users] DBC = ORF 2009

2009-09-30 Thread Chris Richmond
of the Giants of the industry; if only for a week. On Sep 30, 2009, at 1:13 PM, Chris Richmond wrote: Ed, Thanks a lot. I am thinking about comding to Drools boot camp in Dallas? In late October. If not that one than the next one. Will you be there? I feel it would be beneficial

[rules-users] Understanding Fusion temporal reasoning

2009-09-29 Thread Chris Richmond
Hello, I am trying to make a rule to delay firing until a certain amount of time has passed without another event being received. I have set up a loop that goes every 10 seconds in my main application that takes readings and injects them into the ReadingStream. These are like sensor readings.

[rules-users] retrieving streams/entry points from java api

2009-09-29 Thread Chris Richmond
Hello, I am trying to determine, iterate the working memory streams within my rule by doing the following: for(WorkingMemoryEntryPoint entry : session.getWorkingMemoryEntryPoints()){ System.err.println(entry point stream:

Re: [rules-users] Understanding Fusion temporal reasoning

2009-09-29 Thread Chris Richmond
List Subject: Re: [rules-users] Understanding Fusion temporal reasoning Chris, Someone found a bug a couple days ago that might be affecting you too. What happens if you write: declare NumReading @role( event ) @expires( 10s ) end ? Edson 2009/9/29 Chris Richmond

[rules-users] Agenda Filters usage

2009-09-25 Thread Chris Richmond
Would agenda filters be a good usage in this scenario. I have a set of objects I want to evaluate in stages, and so I only want certain rules to fire at certain stages. So the idea would be to have the main application do some work on those objects then updte and fire rules on them for

[rules-users] Event streams

2009-09-25 Thread Chris Richmond
It is my understanding that an event will be detected as soon as it is inserted into a stream.meaning that I don't have to explicitly call fireRules in order to evaluate events, but them will be evaluated as soon as I insert them into a stream, so a rule like the one below would fire as soon as I

Re: [rules-users] Event streams

2009-09-25 Thread Chris Richmond
I guess a folow up would be, would it be possible to terminate a long lived event that was generated with the arrival of another event? Thanks, Chris _ From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Chris Richmond Sent: Friday

Re: [rules-users] Event streams

2009-09-25 Thread Chris Richmond
) so you need to invoke it in a separate Thread. Then from another thread you can insert events into the entry points. For the second item (long lived event) you must use an @expires tag in your object declaration and be running in STREAM mode. _ From: Chris Richmond crichm

[rules-users] Events Temporal reasoning problem

2009-09-25 Thread Chris Richmond
Hello, I am trying to make a rule to delay firing until a certain amount of time has passed without another event being received. I have set up a loop that goes every 10 seconds in my main application that takes readings and injects them into the ReadingStream. These are like sensor

[rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
Hello, I am trying to create a set of java objects, which I insert into the session at startup. Then at regular timed iterations I want to examine the values of those objects. During the timer iteration, some fields may have been changed by the primary program. So I have a rule for now that

Re: [rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
When the iteration is over, you would retract the Cycle object. (Only one Cycle should be in working memory at once, and it's a good idea to have a rule that enforces that invariant.) You should follow this pattern for any rule you want to guarantee to fire on each iteration. _ From: Chris

Re: [rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
that invariant.) You should follow this pattern for any rule you want to guarantee to fire on each iteration. _ From: Chris Richmond crichm...@referentia.com To: Rules Users List rules-users@lists.jboss.org Sent: Wednesday, September 23, 2009 2:15:35 PM Subject: [rules-users] persistent

Re: [rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
. _ From: Chris Richmond crichm...@referentia.com To: Rules Users List rules-users@lists.jboss.org Sent: Wednesday, September 23, 2009 2:15:35 PM Subject: [rules-users] persistent java objects in working memory Hello, I am trying to create a set of java objects, which I insert

Re: [rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
. _ From: Chris Richmond crichm...@referentia.com To: Rules Users List rules-users@lists.jboss.org Sent: Wednesday, September 23, 2009 3:35:46 PM Subject: Re: [rules-users] persistent java objects in working memory Now I am really confused, when I try to set some condition on the MyDataObject

Re: [rules-users] persistent java objects in working memory

2009-09-23 Thread Chris Richmond
update($sb) is actually udate($mo) in my code, that is a type on my example Chris _ From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Chris Richmond Sent: Wednesday, September 23, 2009 11:34 AM To: 'Rules Users List' Subject

[rules-users] determining what field changed

2009-09-16 Thread Chris Richmond
Is it possible to determine what fields from an object changed within a rule. So I am using this to determine if any DataObject has changed: //IDENTIFY ANY DATAOBJECT CHANGES rule identify any DATAOBJECT when $do : DataObject(); then

Re: [rules-users] determining what field changed

2009-09-16 Thread Chris Richmond
into a state that the rete is not aware of, but in this case it would do what you want. --- On Wed, 9/16/09, Chris Richmond crichm...@referentia.com wrote: From: Chris Richmond crichm...@referentia.com Subject: [rules-users] determining what field changed To: 'Rules Users List' rules-users

[rules-users] detecting when an object has not been inserted

2009-09-16 Thread Chris Richmond
Hello, The documentation mentions detecting when an object of certain type with certain values has NOT been inserted within a certain amount of time.for instance if you have one reading above a threshold and want to see if you've received an auxillary reading within specs within the last 10

RE: [rules-users] firing explicit rules or agend-groups

2009-06-26 Thread Chris Richmond
with the agenda. []s Edson 2009/6/25 Chris Richmond crichm...@referentia.com Ok.well when the recognized expert says something is not their preferred approach, it begs the question .what is your preferred approach for handling this? Thanks, Chris _ From: rules-users-boun

RE: [rules-users] Firiing explicit rules

2009-06-25 Thread Chris Richmond
base. In any case, as long as you don't have multiple threads concurrently inserting facts/events into a single entry-point, everything else is thread safe. []s Edson 2009/6/24 Chris Richmond crichm...@referentia.com Hello, For performance reasons, assuming I am using STREAM mode

RE: [rules-users] firing explicit rules or agend-groups

2009-06-25 Thread Chris Richmond
Tirelli Sent: Thursday, June 25, 2009 2:30 AM To: Rules Users List Subject: Re: [rules-users] firing explicit rules or agend-groups Chris, Although not my preferred approach, you can use agenda filters as a parameter to fireAllRules(). []s Edson 2009/6/24 Chris Richmond crichm

[rules-users] Firiing explicit rules

2009-06-24 Thread Chris Richmond
Hello, For performance reasons, assuming I am using STREAM mode, is it better to : A. create several streams in my rule file and inject objects into various streams depending on my needs or B. create a different session for each stream that I might have had in A. above?

[rules-users] firing explicit rules or agend-groups

2009-06-24 Thread Chris Richmond
Hello, I thought I had encountered a sample of performing a: session.fireAllRules(); except on explicit rules or at least on a specific agenda group.but I cannot seem to locate that in the API for sessions..did I miss something or did I imagine something before? Thanks, Chris

RE: [rules-users] function mvel declare - possible bug

2009-06-24 Thread Chris Richmond
I have been completely unable to declare a function within my .drl file using mvel dialect as well..so I'm very interested in this. Thanks, Chris _ From: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] On Behalf Of Michal Bali Sent: Wednesday,

RE: [rules-users] unable to resolve method using strict-mode

2009-06-23 Thread Chris Richmond
:07 AM To: Rules Users List Subject: Re: [rules-users] unable to resolve method using strict-mode What versions of Drools and MVEL are you using? []s Edson 2009/6/22 Chris Richmond crichm...@referentia.com I cannot seem to call a static method on one of my classes and keep getting

RE: [rules-users] unable to resolve method using strict-mode

2009-06-23 Thread Chris Richmond
Subject: Re: [rules-users] unable to resolve method using strict-mode What versions of Drools and MVEL are you using? []s Edson 2009/6/22 Chris Richmond crichm...@referentia.com I cannot seem to call a static method on one of my classes and keep getting this error: [Error: Failed

[rules-users] unable to resolve method using strict-mode

2009-06-22 Thread Chris Richmond
I cannot seem to call a static method on one of my classes and keep getting this error: [Error: Failed to compile: 1 compilation error(s): - (1,44) unable to resolve method using strict-mode: com.aps.syslog.logging.manager.LoggingManager.runLoggingTest(java.lang.Strin g,

[rules-users] functions .drl file

2009-06-18 Thread Chris Richmond
Is it possible to create a .drl file of nothing but functions then import those into another .drl file to make it easy to maintain one file of API style functions and then beable to call them from any additional .drl files? Thanks, Chris ___

RE: [rules-users] functions

2009-06-18 Thread Chris Richmond
use import function in the DRL to import all of them. []s Edson 2009/6/18 Chris Richmond crichm...@referentia.com Ok.I am trying to build a function library in my .drl file and I added this one test function function String outputString(String sData){ return sData

[rules-users] averages on different data types

2009-06-17 Thread Chris Richmond
Hi guys, Building from the stockticker sample, I have been running my own average aggregates over time and window length and I have the following rule.it simply runs a last 10 average and outputs the average(in theory). rule show averages when $n : Number( doubleValue 0

RE: [rules-users] averages on different data types

2009-06-17 Thread Chris Richmond
message you see is the MVEL way of saying: non-existing variable (I guess you are using mvel as the dialect for the consequence). If you want to know what data objects are being inserted/expired from the working memory, use a working memory listener. []s Edson 2009/6/17 Chris Richmond

RE: [rules-users] averages on different data types

2009-06-17 Thread Chris Richmond
outside the accumulate, what Order would it be bound to? So, it makes no sense... []s Edson 2009/6/17 Chris Richmond crichm...@referentia.com So how can I access variables that I have populated from within that scope delimiter(accumulate)? For instance if I did want to access

[rules-users] multiple .drl files

2009-06-12 Thread Chris Richmond
Hello all, I want to create a baseline rules file with Fusion that does some basic aggregating that I know I will need later.things like keep running averages over the last minute or so of several object values. Is it possible to then inherit or at least reference those aggregates I am

[rules-users] Drools fusion memory management

2009-06-12 Thread Chris Richmond
Hello, I wanted to ask this question in a separate email so as to keep each email to one topic for easier thread following. Let me know if you prefer multiple questions per email next time. I am using Drools fusion basically with some success where I am at this point only running some

RE: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Chris Richmond
: Monday, June 01, 2009 11:14 PM To: Rules Users List Subject: Re: [rules-users] The Eclipse JDT Core jar is not in the classpath error 2009/6/2 Chris Richmond crichm...@referentia.com: Hello, I am using netbeans and ivy with Drools 5.  I have successfully named, published the jars from drools

RE: [rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-02 Thread Chris Richmond
, it will give you similar problems. []s Edson 2009/6/2 Chris Richmond crichm...@referentia.com Marcus, I only have the one version of antlr jar that comes in the /lib folder of the drools 5.0 binary distribution, however that was enough to allow me to run the stockticker fusion

[rules-users] The Eclipse JDT Core jar is not in the classpath error

2009-06-01 Thread Chris Richmond
Hello, I am using netbeans and ivy with Drools 5. I have successfully named, published the jars from drools to and could build my port of the stock ticker application in netbeans, but when I try to run it, I get the following error: java.lang.NoClassDefFoundError:

[rules-users] Drools 5.0 dependancies

2009-05-29 Thread Chris Richmond
Hello, I notice there is a license file with the drools 5.0 binary distribution, and the /lib directory contains all the dependancy libraries for drools, but I have no idea who owns these or what the license is on the numerous third party libraries in there.Does anyone have any idea what

[rules-users] Dependencies readme file

2009-05-29 Thread Chris Richmond
I notice that all of the drools 5.0 dependency jars are in the .lib folder, but many of the versions are wrong according to the README_DEPENDENCIES.txt file. For instance API: Jaxb-impl 2.1.9 However version 2.0.3 is the one included in the jar. Can someone explain what is going on here

[rules-users] keeping running stats

2009-05-27 Thread Chris Richmond
Hello, I have modified the stockTicker fusion example to keep some running stats, you can see from the rule snippet below that it injects a stats object based on the symbol then matches them as updates come in later. You can see for now I am just updating the running counts and outputting the

RE: [rules-users] moving average rule

2009-05-27 Thread Chris Richmond
important in STREAM_MODE: what clock are you using? Real time or pseudo clock? []s Edson 2009/5/26 Chris Richmond crichm...@referentia.com Well, it never fires even though the last several values are ALL above my moving averate limit.I never see the output being written out. I modified my

RE: [rules-users] keeping running stats

2009-05-27 Thread Chris Richmond
The engine will automatically discard any SensorReading older than 10 minutes and keep the calculated average consistent. Is that what you're looking for? Michal 2009/5/27 Chris Richmond crichm...@referentia.com Hello, I have modified the stockTicker fusion example to keep some running stats

RE: [rules-users] keeping running stats

2009-05-27 Thread Chris Richmond
the calculated average consistent. Is that what you're looking for? Michal 2009/5/27 Chris Richmond crichm...@referentia.com Hello, I have modified the stockTicker fusion example to keep some running stats, you can see from the rule snippet below that it injects a stats object based on the symbol

RE: [rules-users] keeping running stats

2009-05-27 Thread Chris Richmond
average consistent. Is that what you're looking for? Michal 2009/5/27 Chris Richmond crichm...@referentia.com Hello, I have modified the stockTicker fusion example to keep some running stats, you can see from the rule snippet below that it injects a stats object based on the symbol

[rules-users] moving average rule

2009-05-26 Thread Chris Richmond
Hello, I am trying to write a rule for a moving average over values over the last minute using fusion. In general I can't seem to locate a detailed resource for authoring syntax for these types of rules or rules in general, but specifically, I tried to modify something from the fusion