$zCollection: ArrayList() from collect(Z over window:length(z_length))
$xCollection:ArrayList() from collect(X over window:length(y) from $ZCollection)
I'm sorry I did not check the syntax so it might not be quite right but I've done accumulates over collections made in another line before and it worked.
Wendy
From: Andre <morpheusandre@web.de> To: rules-users@lists.jboss.org Sent: Sat, July 2,
2011 11:08:56 AM Subject: [rules-users] sliding window combination ?
hi,
is it possible to combine sliding windows ?
like: if in timewindow x occur y(length-window) of z elements which have the same string in z.name then do something ...