-
Notifications
You must be signed in to change notification settings - Fork 7
Description
I started to write a FIFO queue that works with a window concept, ie it has all the features of the common FIFO, however I can delimit a content perception window.
Entering data they will enter the QUEUE and exit according to the limit of the size allowed for it, but whenever you query an item in index 0 for example will return the first item that the window allows. if item 5 is requested, the fifth intem of the window will be returned.
The other option I am analyzing is that I can have a DataView, or WindowView, object that would view this FIFO as if it were an independent FIFO but actions on it only occur in the perception window.
Below is an image that speaks more than all this explanation.

Credit: https://www.cse.iitk.ac.in/users/dheeraj/cs425/lec09.html
thanks.