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-tp4023...
Sent from the Drools: User forum mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users