arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1801.07449cs.DS
收藏

使用LCA的滑动后缀树

Sliding Suffix Tree using LCA

Andrej Brodnik, Matevž Jekovec

摘要:

我们考虑一个滑动窗口$W$的字符流从一些字母表的恒定大小。用户想要对当前滑动窗口内容执行确定性子串匹配,并获得匹配的位置。我们提出了一个索引版本的滑动窗口使用后缀树,链接树和最低共同祖先。大小为$Θ(|W|)$的数据结构具有最佳时间查询$Θ(m+occ)$和摊销常数时间更新,其中$m$是查询字符串的长度,$occ$是其出现的次数。

英文摘要:

We consider a sliding window $W$ over a stream of characters from some alphabet of constant size. The user wants to perform deterministic substring matching on the current sliding window content and obtain positions of the matches. We present an indexed version of the sliding window using the suffix tree, the link tree and the lowest common ancestor. The data structure of size $Θ(|W|)$ has optimal time queries $Θ(m+occ)$ and amortized constant time updates, where $m$ is the length of the query string and $occ$ is the number of its occurrences.

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

↑