The constrained longest common subsequence problem

被引:110
作者
Tsai, YT [1 ]
机构
[1] Providence Univ, Dept Comp Sci & Informat Management, Taichung 433, Hsien, Taiwan
关键词
constrained longest common subsequence problems; algorithms; dynamic programming;
D O I
10.1016/j.ipl.2003.07.001
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
This paper considers a constrained version of longest common subsequence problem for two strings. Given strings S-1, S-2 and P. the constrained longest common subsequence problem for S-1 and S-2 with respect to P is to find a longest common subsequence Ics of S-1 and S-2 such that P is a subsequence of this Ics. An O(r n(2)m(2)) time algorithm based upon the dynamic programming technique is proposed for this new problem, where n, in and r are lengths of S-1, S-2 and P, respectively. (C) 2003 Elsevier B.V. All rights reserved.
引用
收藏
页码:173 / 176
页数:4
相关论文
共 8 条
[1]  
Apostolico A., 1997, HDB FORMAL LANGUAGES, P361, DOI DOI 10.1007/978-3-662-07675-0_8
[2]  
APOSTOLICO A, 1998, HDB ALGORITHMS THEOR, pCH13
[3]   A survey of longest common subsequence algorithms [J].
Bergroth, L ;
Hakonen, H ;
Raita, T .
SPIRE 2000: SEVENTH INTERNATIONAL SYMPOSIUM ON STRING PROCESSING AND INFORMATION RETRIEVAL - PROCEEDINGS, 2000, :39-48
[4]  
Hirschberg Daniel S., 1997, PATTERN MATCHING ALG, P123
[5]  
HIRSCHBERG DS, 1977, J ACM, V24, P644
[6]   COMPLEXITY OF SOME PROBLEMS ON SUBSEQUENCES AND SUPERSEQUENCES [J].
MAIER, D .
JOURNAL OF THE ACM, 1978, 25 (02) :322-336
[7]   A FASTER ALGORITHM COMPUTING STRING EDIT DISTANCES [J].
MASEK, WJ ;
PATERSON, MS .
JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1980, 20 (01) :18-31
[8]   STRING-TO-STRING CORRECTION PROBLEM [J].
WAGNER, RA ;
FISCHER, MJ .
JOURNAL OF THE ACM, 1974, 21 (01) :168-173