Time conditioned events

19 views
Skip to first unread message

hayri

unread,
Oct 4, 2010, 12:44:49 PM10/4/10
to ETALIS
Hi, I want to make an event dependable from another event and also
from a given time period or interval. It should look like this:

event_3 <- event_1 seq event_2 within(2 minutes).

As you can see in the example above I want to fire an event (event_1)
and if after (or within) 2 minutes another event follows (event_2)
then event_3 should be fired. I looked into the examples in the svn
project but couldn't find anything which could help me.

Can you give me an example or explanation to reach the mentioned
behavior?

Paul Fodor

unread,
Oct 4, 2010, 1:21:45 PM10/4/10
to eta...@googlegroups.com
Please look at the example: etalis/window_01:

r2([property(event_rule_window,3)]) 'rule:' d(X) <- a(X) 'seq' b(X).

There should be other examples too in garbage collection examples.
Paul.

Reply all
Reply to author
Forward
0 new messages