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

基于新的制表和稀疏动态规划技术的序列相似性问题

New tabulation and sparse dynamic programming based techniques for sequence similarity problems

Szymon Grabowski

摘要:

计算长度为$n$和$m$的两个字符串$A$和$B$的最长公共子序列(LCS)的长度是一个经典的研究课题,已知许多面向最坏情况的结果。我们提出了两个算法的LCS长度计算分别$O(mn \log\log n / \log^2 n)$和$O(mn / \log^2 n + r)$的时间复杂度,后者工作的$r = o(mn / (\log n \log\log n))$,其中$r$是匹配的数量在动态规划矩阵。我们还描述了一个给定的问题足以应用我们的技术的条件,提出了几个具体的例子,即编辑距离,LCTS和MerLCS问题。

英文摘要:

Calculating the length of a longest common subsequence (LCS) of two strings $A$ and $B$ of length $n$ and $m$ is a classic research topic, with many worst-case oriented results known. We present two algorithms for LCS length calculation with respectively $O(mn \log\log n / \log^2 n)$ and $O(mn / \log^2 n + r)$ time complexity, the latter working for $r = o(mn / (\log n \log\log n))$, where $r$ is the number of matches in the dynamic programming matrix. We also describe conditions for a given problem sufficient to apply our techniques, with several concrete examples presented, namely the edit distance, LCTS and MerLCS problems.

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

↑