【24h】

Fully Incremental LCS Computation

机译:完全增量式LCS计算

获取原文
获取原文并翻译 | 示例

摘要

Sequence comparison is a fundamental task in pattern matching. Its applications include file comparison, spelling correction, information retrieval, and computing (dis)similarities between biological sequences. A common scheme for sequence comparison is the longest common subsequence (LCS) metric. This paper considers the fully incremental LCS computation problem as follows: For any strings A, B and characters a,b, compute LCS(aA,B), LCS(A,bB), LCS(Aa,B), and LCS(A,Bb), provided that L = LCS(A,B) is already computed. We present an efficient algorithm that computes the four LCS values above, in O(L) or O(n) time depending on where a new character is added, where n is the length of A. Our algorithm is superior in both time and space complexities to the previous known methods.
机译:序列比较是模式匹配中的一项基本任务。它的应用包括文件比较,拼写更正,信息检索以及生物序列之间的计算(不相似)相似性。序列比较的一种常见方案是最长的公共子序列(LCS)度量。本文考虑完全增量式LCS计算问题,如下所示:对于任何字符串A,B和字符a,b,计算LCS(aA,B),LCS(A,bB),LCS(Aa,B)和LCS(A (Bb),前提是已经计算出L = LCS(A,B)。我们提出了一种有效的算法,该算法可以根据添加新字符的位置在O(L)或O(n)的时间内计算上述四个LCS值,其中n是A的长度。我们的算法在时间和空间上都比较出色与以前已知方法的复杂性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号