This might help, and look at the code of existing temporal evaluators. http://members.inode.at/w.laun/drools/CustomOperatorHowTo.html
-W On 18/04/2013, burmanator <[email protected]> wrote: > 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. > _______________________________________________ > rules-users mailing list > [email protected] > https://lists.jboss.org/mailman/listinfo/rules-users > _______________________________________________ rules-users mailing list [email protected] https://lists.jboss.org/mailman/listinfo/rules-users
