首页> 外文期刊>IEICE Transactions on Fundamentals of Electronics, Communications and Computer Sciences >A Fast On-Line Algorithm for the Longest Common Subsequence Problem with Constant Alphabet
【24h】

A Fast On-Line Algorithm for the Longest Common Subsequence Problem with Constant Alphabet

机译:常数字母最长公共子序列问题的快速在线算法

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

摘要

This article presents an algorithm that solves an on-line version of the longest common subsequence (LCS) problem for two strings over a constant alphabet in O(d+n) time and O(m+d) space, where m is the length of the shorter string, the whole of which is given to the algorithm in advance, n is the length of the longer string, which is given as a data stream, and d is the number of dominant matches between the two strings. A new upper bound, 0(p(m - q)), of d is also presented, where p is the length of the LCS of the two strings, and q is the length of the LCS of the shorter string and the m-length prefix of the longer string.
机译:本文介绍了一种算法,该算法可以解决O(d + n)时间和O(m + d)空间中恒定字母上两个字符串的最长公共子序列(LCS)问题的在线版本的问题,其中m是长度短字符串的长度,预先将其整体提供给算法,n是较长字符串的长度,以数据流的形式给出,d是两个字符串之间的主要匹配数。还给出了d的新上限0(p(m-q)),其中p是两个字符串的LCS的长度,q是较短字符串的LCS的长度,而m-较长字符串的长度前缀。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号