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

具有不匹配的流周期性

Streaming Periodicity with Mismatches

Funda Ergün, Elena Grigorescu, Erfan Sadeqi Azer, Samson Zhou

摘要:

我们研究的问题,找到所有的$k$ -周期的长度- $n$字符串$S$,作为一个数据流。如果$S$的长度为$n-p$的前缀与其长度为$n-p$的后缀在最多$k$的位置不同,则称$S$具有$k$ -周期$p$。我们给出了一个单程流算法,计算$k$ -周期的字符串$S$使用$\text{poly}(k, \log n)$位的空间,$k$ -周期的长度最多$\frac{n}{2}$。我们还提出了一个两遍流算法,计算$k$ -周期的$S$使用$\text{poly}(k, \log n)$位的空间,无论周期长度。我们补充这些结果与可比的下限。

英文摘要:

We study the problem of finding all $k$-periods of a length-$n$ string $S$, presented as a data stream. $S$ is said to have $k$-period $p$ if its prefix of length $n-p$ differs from its suffix of length $n-p$ in at most $k$ locations. We give a one-pass streaming algorithm that computes the $k$-periods of a string $S$ using $\text{poly}(k, \log n)$ bits of space, for $k$-periods of length at most $\frac{n}{2}$. We also present a two-pass streaming algorithm that computes $k$-periods of $S$ using $\text{poly}(k, \log n)$ bits of space, regardless of period length. We complement these results with comparable lower bounds.

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

↑