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

$LCSk$ ++:长字符串的实用相似性度量

$LCSk$++: Practical similarity metric for long strings

Filip Pavetić, Goran Žužić, Mile Šikić

摘要:

本文提出了一种新的长串相似性度量方法$LCSk$ ++,并给出了一种有效的计算算法。随着实践中出现的字符串的大小不断增加,例如植物和动物的大基因组,经典算法如最长公共子序列(LCS)由于要求的计算复杂性而失败。最近,Benson等人定义了一个相似性度量,命名为$LCSk$。通过放宽$k$长度的子串不应该重叠的要求,我们将它们的定义扩展到一个新的度量。给出了一个在实际随机模型下计算字符串$X$和$Y$的$LCSk$ ++的有效算法,其复杂度为$O((|X|+|Y|)\log(|X|+|Y|))$.该算法的设计考虑到了实现的简单性。此外,我们还描述了如何调整它来计算$LCSk$,这给出了在原始$LCSk$论文中提出的$O(|X|\dot|Y|)$算法的改进。

英文摘要:

In this paper we present $LCSk$++: a new metric for measuring the similarity of long strings, and provide an algorithm for its efficient computation. With ever increasing size of strings occuring in practice, e.g. large genomes of plants and animals, classic algorithms such as Longest Common Subsequence (LCS) fail due to demanding computational complexity. Recently, Benson et al. defined a similarity metric named $LCSk$. By relaxing the requirement that the $k$-length substrings should not overlap, we extend their definition into a new metric. An efficient algorithm is presented which computes $LCSk$++ with complexity of $O((|X|+|Y|)\log(|X|+|Y|))$ for strings $X$ and $Y$ under a realistic random model. The algorithm has been designed with implementation simplicity in mind. Additionally, we describe how it can be adjusted to compute $LCSk$ as well, which gives an improvement of the $O(|X|\dot|Y|)$ algorithm presented in the original $LCSk$ paper.

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

↑