Variants of constrained longest common subsequence

被引:24
作者
Bonizzoni, Paola [3 ]
Della Vedova, Gianluca [2 ]
Dondi, Riccardo [1 ]
Pirola, Yuri [3 ]
机构
[1] Univ Bergamo, Dipartimento Sci Linguaggi Comunicaz & Studi Cult, Bergamo, Italy
[2] Univ Milano Bicocca, Dipartimento Stat, Milan, Italy
[3] Univ Milano Bicocca, DISCo, Milan, Italy
关键词
Algorithms; Longest common subsequence; Constrained longest common subsequence; Fixed-parameter tractability; COMPLEXITY; SUPERSEQUENCE; ALPHABET; LCS;
D O I
10.1016/j.ipl.2010.07.015
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We consider a variant of the classical Longest Common Subsequence problem called Doubly-Constrained Longest Common Subsequence (DC-LCS). Given two strings s(1) and s(2) over an alphabet Sigma, a set C-s of strings, and a function C-0 : Sigma -> N, the DC-LCS problem consists of finding the longest subsequence s of s(1) and s(2) such that s is a supersequence of all the strings in C-s and such that the number of occurrences in s of each symbol sigma is an element of Sigma is upper bounded by C-0(sigma). The DC-LCS problem provides a clear mathematical formulation of a sequence comparison problem in Computational Biology and generalizes two other constrained variants of the LCS problem that have been introduced previously in the literature: the Constrained LCS and the Repetition-Free LCS. We present two results for the DC-LCS problem. First, we illustrate a fixed-parameter algorithm where the parameter is the length of the solution which is also applicable to the more specialized problems. Second, we prove a parameterized hardness result for the Constrained LCS problem when the parameter is the number of the constraint strings (vertical bar C-s vertical bar) and the size of the alphabet Sigma E. This hardness result also implies the parameterized hardness of the DC-LCS problem (with the same parameters) and its NP-hardness when the size of the alphabet is constant. 2010 Elsevier B.V. All rights reserved.
引用
收藏
页码:877 / 881
页数:5
相关论文
共 50 条
[41]   Efficient Computation for the Longest Common Subsequence with Substring Inclusion and Subsequence Exclusion Constraints [J].
Wang, Xiaodong ;
Zhu, Daxin .
SMART COMPUTING AND COMMUNICATION, SMARTCOM 2016, 2017, 10135 :419-428
[42]   Efficient subsequence matching using the Longest Common Subsequence with a Dual Match index [J].
Han, Tae Sik ;
Ko, Seung-Kyu ;
Kang, Jaewoo .
MACHINE LEARNING AND DATA MINING IN PATTERN RECOGNITION, PROCEEDINGS, 2007, 4571 :585-+
[43]   The longest common subsequence problem for small alphabets in the word RAM model [J].
Campos, Rodrigo Alexander Castro .
INFORMATION PROCESSING LETTERS, 2025, 190
[44]   Exact algorithms for the repetition-bounded longest common subsequence problem [J].
Asahiro, Yuichi ;
Jansson, Jesper ;
Lin, Guohui ;
Miyano, Eiji ;
Ono, Hirotaka ;
Utashima, Tadatoshi .
THEORETICAL COMPUTER SCIENCE, 2020, 838 :238-249
[45]   Comparing incomplete sequences via longest common subsequence [J].
Castelli, Mauro ;
Dondi, Riccardo ;
Mauri, Giancarlo ;
Zoppis, Italo .
THEORETICAL COMPUTER SCIENCE, 2019, 796 :272-285
[46]   Expected length of the longest common subsequence for large alphabets [J].
Kiwi, M ;
Loebl, M ;
Matousek, J .
ADVANCES IN MATHEMATICS, 2005, 197 (02) :480-498
[48]   THE RATE OF CONVERGENCE OF THE MEAN LENGTH OF THE LONGEST COMMON SUBSEQUENCE [J].
Alexander, Kenneth S. .
ANNALS OF APPLIED PROBABILITY, 1994, 4 (04) :1074-1082
[49]   A Fast Longest Common Subsequence Algorithm for Similar Strings [J].
Arslan, Abdullah N. .
LANGUAGE AND AUTOMATA THEORY AND APPLICATIONS, 2010, 6031 :82-93
[50]   An efficient algorithm for the longest common palindromic subsequence problem [J].
Liang, Ting-Wei ;
Yang, Chang-Biau ;
Huang, Kuo-Si .
THEORETICAL COMPUTER SCIENCE, 2022, 922 :475-485