SlidingWindow

public void SlidingWindow(double a, double b, BinaryOperator<R> aggregator, boolean isFuture)

Constructs a Sliding Window on the given aggregator and time interval.

Parameters

a

beginning of the interval of interest

b

ending of the interval of interest

aggregator

the aggregation function the Sliding Window will use

isFuture

flag to tell whether the direction of the sliding