Approximating constrained LCS

Zvi Gotthilf, Moshe Lewenstein

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

6 Scopus citations

Abstract

The problem of finding the longest common subsequence (LCS) of two given strings A and B is a well-studied problem. The Constrained longest common subsequence (C-LCS) for three strings A, B and C is the longest common subsequence of A and B that contains C as a subsequence. The fastest algorithm solving the C-LCS problem has a time complexity of O(mnk) where m, n and k are the lengths of A, B and C respectively. We propose to consider the approximate version of the LCS and the Constrained LCS. For LCS we propose a simple linear time approximation algorithm that yields an approximation ratio of 1/|Σ|. For C-LCS we obtain the first two approximation algorithms. Our first algorithm has an approximation factor of 1/√min(m,n) with an O(mn) running time, while the second algorithm yields a 1/√(m,n)|Σ| approximation factor within a running time of O(m + n).

Original languageEnglish
Title of host publicationString Processing and Information Retrieval - 14th International Symposium, SPIRE 2007, Proceedings
PublisherSpringer Verlag
Pages164-172
Number of pages9
ISBN (Print)9783540755296
DOIs
StatePublished - 2007
Event14th International Symposium on String Processing and Information Retrieval, SPIRE 2007 - Santiago, Chile
Duration: 29 Oct 200731 Oct 2007

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4726 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference14th International Symposium on String Processing and Information Retrieval, SPIRE 2007
Country/TerritoryChile
CitySantiago
Period29/10/0731/10/07

Fingerprint

Dive into the research topics of 'Approximating constrained LCS'. Together they form a unique fingerprint.

Cite this