arXivDaily arXiv每日学术速递 周一至周五更新
arXiv cs/0610046cs.DS
收藏

每个元素使用不超过三次比较的流式最大-最小过滤器

Streaming Maximum-Minimum Filter Using No More than Three Comparisons per Element

Daniel Lemire

摘要:

运行最大-最小(max-min)过滤器计算大小为w的运行窗口上的最大值和最小值。该滤波器在信号处理和时间序列分析中有许多应用。我们提出了一个易于实现的在线算法,在最坏的情况下,每个元素需要不超过3个比较。相比之下,在最坏的情况下,没有已知的算法可以在每个元素1.5次比较中计算运行最大(或最小)过滤器。我们的算法减少了延迟和内存使用。

英文摘要:

The running maximum-minimum (max-min) filter computes the maxima and minima over running windows of size w. This filter has numerous applications in signal processing and time series analysis. We present an easy-to-implement online algorithm requiring no more than 3 comparisons per element, in the worst case. Comparatively, no algorithm is known to compute the running maximum (or minimum) filter in 1.5 comparisons per element, in the worst case. Our algorithm has reduced latency and memory usage.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑