کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
428033 686592 2008 6 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
New efficient algorithms for the LCS and constrained LCS problems
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
New efficient algorithms for the LCS and constrained LCS problems
چکیده انگلیسی

In this paper, we study the classic and well-studied longest common subsequence (LCS) problem and a recent variant of it, namely the constrained LCS (CLCS) problem. In the CLCS problem, the computed LCS must also be a supersequence of a third given string. In this paper, we first present an efficient algorithm for the traditional LCS problem that runs in O(Rloglogn+n) time, where R is the total number of ordered pairs of positions at which the two strings match and n is the length of the two given strings. Then, using this algorithm, we devise an algorithm for the CLCS problem having time complexity O(pRloglogn+n) in the worst case, where p is the length of the third string.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 106, Issue 1, 31 March 2008, Pages 13-18