首页> 外文期刊>Journal of combinatorial mathematics and combinatorial computing >Algorithms for Two Versions of LCS Problem for Indeterminate Strings
【24h】

Algorithms for Two Versions of LCS Problem for Indeterminate Strings

机译:不确定字符串的LCS问题的两个版本的算法

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

摘要

We study the complexity of the longest common subsequence (LCS) problem from a new perspective. By an indeterminate string (i-string, for short) we mean a sequence X = X[1]X[2]... X[n], where I[i] ∈ ∑ for each i, and ∑ is a given alphabet of potentially large size. A subsequence of X is any usual string over ∑ which is an element of the finite (but usually of exponential size) language X[i_1]X[i_2]... X[i_p], where 1 ≤ i_1 < i_2 < i_3... < ip ≤ n,p ≥ 0. Similarly, we define a supersequence of x. Our first version of the LCSrnproblem is Problem ILCS: for given i-strings X and Y, find their longest common subsequence. From the complexity point of view, new parameters of the input correspond to |∑| and maximum size l of the subsets in X and Y. There is also a third parameter R, which gives a measure of similarity between X and Y. The smaller the 1Z, the lesser is the time for solving Problem ILCS. Our second version of the LCS problem is Problem CILCS (constrained ILCS): for given i-strings X and Y and a plain string Z, find the longest common subsequence of X and Y which is, at the same time, a supersequence of Z. In this paper, we present several efficient algorithms to solve both ILCS and CILCS problems. The efficiency in our algorithms are obtained in particular by using an efficient data structure for special type of range maxima queries and fast multiplication of boolean matrices.
机译:我们从一个新的角度研究了最长公共子序列(LCS)问题的复杂性。不确定的字符串(简称i字符串)是指序列X = X [1] X [2] ... X [n],其中每个i的I [i]∈∑,而∑是给定的可能很大的字母。 X的子序列是∑上任何常见的字符串,它是有限(但通常为指数大小)语言X [i_1] X [i_2] ... X [i_p]的元素,其中1≤i_1

著录项

  • 来源
  • 作者单位

    Algorithm Design group Department of Computer Science King's College London Strand, London WC2R 2LS, England;

    Algorithm Design group Department of Computer Science King's College London Strand, London WC2R 2LS, England Department of Computer Science & Engineering Bangladesh University of Engineering & Technology Dhaka-1000, Bangladesh;

    Institute of Informatics Warsaw University Warsaw, Poland Department of Mathematics and Informatics Copernicus University, Torun, Poland;

  • 收录信息
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号