[rules-users] Fusion: Custom Temporal Operators?

burmanator alexburman at gmail.com
Thu Apr 18 11:21:39 EDT 2013


Is it possible to create custom temporal operators?

I want to create something like:

$eventA : EventA( this afterStart[3m30s,4m] $eventB)

which would be evaluated as 

3m30s <= $eventA.startTimestamp - $eventB.startTimestamp <= 4m

or 

$eventA : EventA( this during2 $eventB)

where

$eventB.startTimestamp <= $eventA.startTimestamp<= $eventA.endTimestamp <=
$eventB.endTimestamp 

as well as create various others.



--
View this message in context: http://drools.46999.n3.nabble.com/Fusion-Custom-Temporal-Operators-tp4023406.html
Sent from the Drools: User forum mailing list archive at Nabble.com.


More information about the rules-users mailing list