LCS Approximation via Embedding into Local Non-repetitive Strings

  • Authors:
  • Gad M. Landau;Avivit Levy;Ilan Newman

  • Affiliations:
  • Department of Computer Science, Haifa University, Haifa, Israel 31905;Department of Software Engineering, Shenkar College, Ramat-Gan, Israel and CRI, Haifa University, Haifa, Israel 31905;Department of Computer Science, Haifa University, Haifa, Israel 31905

  • Venue:
  • CPM '09 Proceedings of the 20th Annual Symposium on Combinatorial Pattern Matching
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

A classical measure of similarity between strings is the length of the longest common subsequence (LCS) between the two given strings. The search for efficient algorithms for finding the LCS has been going on for more than three decades. To date, all known algorithms may take quadratic time (shaved by logarithmic factors) to find large LCS. In this paper the problem of approximating LCS is studied, while focusing on the hard inputs for this problem, namely, approximating LCS of near-linear size in strings over relatively large alphabet (of size at least n *** for some constant *** 0, where n is the length of the string). We show that, any given string over relatively large alphabet can be embedded into a local non-repetitive string. This embedding has a negligible additive distortion for strings that are not too dissimilar in terms of the edit distance. We also show that LCS can be efficiently approximated in locally-non-repetitive strings.