Nota: La traducción de esta entrada está actualmente en revisión de calidad, por lo que parte del contenido se muestra temporalmente solo en inglés.
Esta entrada aún no se ha traducido a tu idioma, así que se muestra el original a continuación.
sliding window
In architectural contexts, this term describes a specific mechanical design focused on space-saving and ventilation. It is distinguished from casement or sash windows by its horizontal movement along a track, making it a common feature in modern residential design where external clearance is limited.
In computer science and data analysis, the term is a technical metaphor for a specific processing technique. It describes a window of a fixed length that shifts across a data stream or array to perform calculations, such as moving averages. This usage is highly specialized and occurs almost exclusively in the context of algorithms, signal processing, and time-series analysis.
Meanings
Examples
The sliding window in the kitchen is stuck and will not open.
I prefer a sliding window because it saves space in a small room.
Please close the sliding window before you leave the house.
We can implement a sliding window to calculate the moving average of the stock prices.
The algorithm uses a sliding window to find the longest substring without repeating characters.
I wonder if a sliding window approach would be more efficient for this data stream.
The sensor data is processed using a sliding window of ten milliseconds.
Just use a sliding window to track the last five entries in the array.