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

流模式匹配的最佳空间和时间

Optimal Space and Time for Streaming Pattern Matching

Tung Mai, Anup Rao, Ryan A. Rossi, Saeed Seddighin

摘要:

在这项工作中,我们研究了最长公共子串,模式匹配,并在非对称流模型的最长模式匹配。在这个流模型中,我们对一个字符串进行随机访问,对另一个字符串进行流访问。我们提出了流算法与可证明的保证,这三个基本问题。特别是,我们的算法模式匹配提高了上界和击败随机和确定性流算法的内存上的无条件下限。除此之外,我们提出了在非对称流模型中具有最佳空间和时间的双模式匹配算法。

英文摘要:

In this work, we study longest common substring, pattern matching, and wildcard pattern matching in the asymmetric streaming model. In this streaming model, we have random access to one string and streaming access to the other one. We present streaming algorithms with provable guarantees for these three fundamental problems. In particular, our algorithms for pattern matching improve the upper bound and beat the unconditional lower bounds on the memory of randomized and deterministic streaming algorithms. In addition to this, we present algorithms for wildcard pattern matching in the asymmetric streaming model that have optimal space and time.

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

↑