首页> 外文期刊>IAENG Internaitonal journal of computer science >A Simple Polynomial Time Algorithm for the Generalized LCS Problem with Multiple Substring Exclusive Constraints
【24h】

A Simple Polynomial Time Algorithm for the Generalized LCS Problem with Multiple Substring Exclusive Constraints

机译:具有多个子串互斥约束的广义LCS问题的简单多项式时间算法

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

摘要

In this paper, we present a simple polynomial time algorithm for a generalized longest common subsequence problem with multiple substring exclusion constraints. Given two sequences X and Y of lengths m and n, respectively, and a set of constraint strings P of total length r, we are to find a common subsequence z of X and Y which excludes each of strings in P as a substring and the length of z is maximized. The problem was declared to be NP-hard, but we finally found that this is not true. A new polynomial time solution for this problem is presented in this paper. The correctness of the new algorithm is proved. The time complexity of our algorithm is analyzed.
机译:在本文中,我们针对具有多个子串排除约束的广义最长公共子序列问题,提出了一种简单的多项式时间算法。给定分别为长度m和n的两个序列X和Y,以及总长度为r的约束字符串P的集合,我们将找到X和Y的公共子序列z,该子序列将P中的每个字符串都排除为子字符串,而将z的长度最大。该问题被宣布为NP难题,但我们最终发现事实并非如此。本文提出了一个新的多项式时间解决方案。证明了新算法的正确性。分析了我们算法的时间复杂度。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号