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

序列数据流上最长递增子序列的计算

Computing Longest Increasing Subsequence Over Sequential Data Streams

Youhuan Li, Lei Zou, Huaming Zhang, Dongyan Zhao

摘要:

本文提出了一种数据结构--四重邻居表(QN-list),用于支持序列数据流上所有最长递增子序列(LIS)和有约束LIS的实时的查询。由我们的算法构建的QN-List需要$O(w)$空间,其中$w$是时间窗口大小。构建初始QN列表的运行时间需要$O(w\log w)$时间。应用QN-列表时,插入新项目需要$O(\log w)$时间,删除第一个项目需要$O(w)$时间。据我们所知,这是第一个工作,支持LIS枚举和LIS的约束计算,通过使用一个统一的数据结构的实时的顺序数据流。我们的方法优于国家的最先进的方法在时间和空间成本,不仅在理论上,而且经验。

英文摘要:

In this paper, we propose a data structure, a quadruple neighbor list (QN-list, for short), to support real time queries of all longest increasing subsequence (LIS) and LIS with constraints over sequential data streams. The QN-List built by our algorithm requires $O(w)$ space, where $w$ is the time window size. The running time for building the initial QN-List takes $O(w\log w)$ time. Applying the QN-List, insertion of the new item takes $O(\log w)$ time and deletion of the first item takes $O(w)$ time. To the best of our knowledge, this is the first work to support both LIS enumeration and LIS with constraints computation by using a single uniform data structure for real time sequential data streams. Our method outperforms the state-of-the-art methods in both time and space cost, not only theoretically, but also empirically.

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

↑