Converts a generator of sequence of sequences into a sequence of TimedElement by flattening the generated sequence of sequences, and assigning a timestamp to each element computed by interpreting each nested sequence as a tumbling window of size windowSize, with the first window starting at startEpoch.
Converts a generator of sequence of sequences into a sequence of TimedElement by flattening the generated sequence of sequences, and assigning a timestamp to each element computed by interpreting each nested sequence as a tumbling window of size windowSize, with the first window starting at startEpoch. Inside each window, the timestamp of each element is a random value between the window start (inclusive) and the windows end (exclusive), obtained using a uniform distribution
Elements in the generated sequence will be sorted by timestamp in ascending order.
Note: there is no warranty that for each window has a record with the window start time as timestamp. This also allows this method to support empty windows.