Let me understand you better.
The events do not contain any information about source other than what
can be implied from their temporal position?
Source 1 : 0s, 15s, 30s, 35s etc
Source 2: 5s, 20s, 35s, 40s etc
What if the period between events for a specific source were greater
than 15s (as you state) which caused an overlap with another source?
Source 1: 0s, 15s, 35s, 40s etc
Source 2: 5s, 20s, 35s, 40s etc
I would have thought without being able to ascertain source from the
event Fact it would be almost impossible to achieve your use-case.
With kind regards,
Mike
-----Original Message-----
From: rules-users-bounces(a)lists.jboss.org
[mailto:rules-users-bounces@lists.jboss.org] On Behalf Of skasab2s
Sent: 12 September 2009 11:54
To: rules-users(a)lists.jboss.org
Subject: [rules-users] Drools Fuson and Deltas (differences)
Hi guys,
I have the following problem, which I'm trying to solve with
Drools-Fusion:
Every 15 seconds(or more) happens an event, that contains an unique
number.
For example every 15 seconds(or more) comes a Temperature of a patient
with
a new different value as an event. The problem is, that it is possible,
that
between two of those Temperatures other Temperatures from a differrent
source appear:
Second 0: Nothing
...
Second: 15: Temperature: 37.5
...
Second: 20 Temperature 38.8
...
Second: 30 Temperature: 36.5
Is it possible with Drools Fuzion to detect that Temperature 38.8 is
from
other source (because it has happended between the 15th and 30th second)
and
calculate the difference between the temperature 38.8 and 37.5 (in this
case)?
Thanks a lot!
Svetlomir.
--
View this message in context:
http://www.nabble.com/Drools-Fuson-and-Deltas-%28differences%29-tp254134
21p25413421.html
Sent from the drools - user mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users