[rules-users] WG: Drools Fusion 6.0.0.CR3

2013-09-11 Thread Weiss, Wolfgang
Hi all! I tried out Drools 6.0.0.CR3 and I have some difficulties in detecting patterns with rules containing temporal parameters. I'm using following rule: rule detect turn shifts agenda-group evaluation salience 100 when $aae : AudioActivityEvent(value = 50) from

[rules-users] Delete a List of Facts

2013-05-25 Thread Weiss, Wolfgang
Hi, I want to delete a list of facts from the working memory and therefore created following rule: rule delete rule agenda-group evaluation salience 50 no-loop true when $facts : ArrayList(size 0) from collect (Fact()) then logger.info(delete rule, number of facts in list:

Re: [rules-users] Delete a List of Facts

2013-05-25 Thread Weiss, Wolfgang
individually. Collecting the list and retracting from a copy does not avoid updating the agenda with this rule, 9 times for 10 matching Fact facts. -W On 25/05/2013, Weiss, Wolfgang wolfgang.we...@joanneum.at wrote: Hi, I want to delete a list of facts from the working memory and therefore

Re: [rules-users] Problem with Negative Patterns and Temporal Constraints

2012-01-17 Thread Weiss, Wolfgang
matched by the pattern inside the not. I recommend using not(AnalysisCue(this != $cue, this after[0ms,2500ms] $cue) from since [0ms,... does not inhibit the same event being matched by both patterns, which precludes the rule from firing. -W 2012/1/16 Weiss, Wolfgang wolfgang.we

[rules-users] Problem with Negative Patterns and Temporal Constraints

2012-01-16 Thread Weiss, Wolfgang
Hi all! We have the problem that the following rule never fires: rule test-rule agenda-group evaluation salience 100 when $cue : AnalysisCue() from entry-point LowLevelCueStream not(AnalysisCue(this after[0ms,2500ms] $cue) from entry-point

Re: [rules-users] NullPointerException in RightTupleIndexHashTable.remove()

2011-06-29 Thread Weiss, Wolfgang
FYI: I tested my application with the latest Drools release 5.2.0.Final and I couldn't reproduce the problem described below. It seems that it is solved. Best regards, Wolfgang Von: rules-users-boun...@lists.jboss.org [mailto:rules-users-boun...@lists.jboss.org] Im Auftrag von Weiss, Wolfgang

[rules-users] Drools Fusion Performance Evaluation

2011-06-28 Thread Weiss, Wolfgang
Hi all! Can anybody point me to a performance evaluation of Drools? I found some papers [1], [2] which focus on the rules part but I'm particularly interested in the event processing part of Drools. I want to know how many events can be processed per second with which latency, something that

[rules-users] NullPointerException in RightTupleIndexHashTable.remove()

2011-06-21 Thread Weiss, Wolfgang
Hi all! I encountered that null pointer exceptions occur when retracting an object from the working memory. Sometimes the problem occurs sooner sometimes later but it certainly happens. I think it also depends on the workload on the machine. Sometimes the NPE is thrown in