Fully incremental LCS computation

Yusuke Ishida, Shunsuke Inenaga, Ayumi Shinohara, Masayuki Takeda

Research output: Contribution to journalConference article

7 Citations (Scopus)

Abstract

Sequence comparison is & fundamental task in pattern matching. Its applications include file comparison, spelling correction, information retrieval, and computing (dis)similarities between biological sequences. A common scheme for sequence comparison is the longest common subsequence (LCS) metric. This paper considers the fully incremental LCS computation problem as follows: For any strings A, B and characters a, b, compute LCS(aA, B), LCS(A, bB), LCS(Aa, B), and LCS(A, Bb), provided that L = LCS(A, B) is already computed. We present an efficient algorithm that computes the four LCS values above, in O(L) or O(n) time depending on where a new character is added, where n is the length of A. Our algorithm is superior in both time and space complexities to the previous known methods.

Original languageEnglish
Pages (from-to)563-574
Number of pages12
JournalLecture Notes in Computer Science
Volume3623
Publication statusPublished - Oct 24 2005
Event15th International Symposium on Fundamentals of Computation Theory, FCT 2005 - Lubeck, Germany
Duration: Aug 17 2005Aug 20 2005

    Fingerprint

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Computer Science(all)

Cite this