Re: Sliding window

2013-03-19 Thread Matthieu Morel
Hi, in the constructor for that class, you can specify the unit of time (seconds, minutes etc) and the duration of a slot expressed in that unit of time. If you specify 60 seconds, you'll have a new slot every 60 seconds, regardless of the number of slots in the window. When a new slot is creat

Re: Sliding window

2013-03-19 Thread medikare mds
Considering the time-based AbstractSlidingWindowPE constructor, suppose I specify the time unit as 60 seconds and number of slots as 6. Then, will one slot be used for every ten seconds? On Sat, Feb 23, 2013 at 12:31 AM, Matthieu Morel wrote: > Good questions - and thanks for pointing out the in

Re: Sliding window

2013-02-22 Thread Matthieu Morel
Good questions - and thanks for pointing out the incomplete javadoc for the V parameter! Have you tried customizing the "close()" method in your Slot implementation? This is called when a new slot replaces the old one. That would be a convenient place to dump the slot data to a file. updateOpe