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

基于字符串分解的流式$k$-编辑近似模式匹配

Streaming $k$-edit approximate pattern matching via string decomposition

Sudatta Bhattacharya, Michal Koucký

AI总结:

针对流式$k$-编辑近似模式匹配问题,提出一种基于字符串分解的算法,将空间和单符号处理时间复杂度从原有$\tilde{O}(k^5)$、$\tilde{O}(k^8)$大幅优化至$\tilde{O}(k^2)$。

摘要:

本文提出了一种用于流式$k$-编辑近似模式匹配的算法,其空间复杂度为$\tilde{O}(k^2)$,每个到达符号的时间复杂度为$\tilde{O}(k^2)$。这一结果相较Kociumaka、Porat与Starikovskaya(2022)近期提出的算法有显著提升,该原有算法的空间复杂度为$\tilde{O}(k^5)$,每个到达符号的时间复杂度为$\tilde{O}(k^8)$。在$k$-编辑近似模式匹配问题中,给定模式$P$和文本$T$,我们需要找出文本$T$中所有与$P$的编辑距离不超过$k$的子串。在该问题的流式版本中,模式和文本均以逐符号的流式方式到达,且在文本的每个符号到达后,我们需要报告当前文本是否存在一个后缀与$P$的编辑距离不超过$k$。我们衡量该算法所需的总空间,以及每个到达符号对应的处理时间。

英文摘要:

In this paper we give an algorithm for streaming $k$-edit approximate pattern matching which uses space $\widetilde{O}(k^2)$ and time $\widetilde{O}(k^2)$ per arriving symbol. This improves substantially on the recent algorithm of Kociumaka, Porat and Starikovskaya (2022) which uses space $\widetilde{O}(k^5)$ and time $\widetilde{O}(k^8)$ per arriving symbol. In the $k$-edit approximate pattern matching problem we get a pattern $P$ and text $T$ and we want to identify all substrings of the text $T$ that are at edit distance at most $k$ from $P$. In the streaming version of this problem both the pattern and the text arrive in a streaming fashion symbol by symbol and after each symbol of the text we need to report whether there is a current suffix of the text with edit distance at most $k$ from $P$. We measure the total space needed by the algorithm and time needed per arriving symbol.

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

↑