Skip to main content

2017 | OriginalPaper | Buchkapitel

Mining Bit-Parallel LCS-length Algorithms

verfasst von : Heikki Hyyrö

Erschienen in: String Processing and Information Retrieval

Verlag: Springer International Publishing

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Some of the most efficient algorithms for computing the length of a longest common subsequence (LLCS) between two strings are based on so-called “bit-parallelism”. They achieve \(O(\lceil m/w \rceil n)\) time, where m and n are the string lengths and w is the computer word size. The first such algorithm was presented by Allison and Dix [3] and performs 6 bit-vector operations per step. The number of operations per step has later been improved to 5 by Crochemore et al. [5] and to 4 by Hyyrö [6]. In this short paper we explore whether further improvement is possible. We find that under fairly reasonable assumptions, the LLCS problem requires at least 4 bit-vector operations per step. As a byproduct we also present five new 4-operation bit-parallel LLCS algorithms.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
The algorithm of Rick, as recommended in [4], was omitted as it was not competitive in our experiments. This was probably due to its high \(O(\sigma m)\) preprocessing cost.
 
Literatur
1.
Zurück zum Zitat Abboud, A., Backurs, A., Williams, V.V.: Tight hardness results for LCS and other sequence similarity measures. In: Proceedings of 56th Annual IEEE Symposium on Foundations of Computer Science, pp. 59–78 (2015) Abboud, A., Backurs, A., Williams, V.V.: Tight hardness results for LCS and other sequence similarity measures. In: Proceedings of 56th Annual IEEE Symposium on Foundations of Computer Science, pp. 59–78 (2015)
2.
Zurück zum Zitat Aho, A.V., Hirschberg, D.S., Ullman, J.D.: Bounds on the complexity of the longest common subsequence problem. J. ACM 23(1), 1–12 (1976)MathSciNetCrossRefMATH Aho, A.V., Hirschberg, D.S., Ullman, J.D.: Bounds on the complexity of the longest common subsequence problem. J. ACM 23(1), 1–12 (1976)MathSciNetCrossRefMATH
3.
Zurück zum Zitat Allison, L., Dix, T.L.: A bit-string longest common subsequence algorithm. Inf. Process. Lett. 23, 305–310 (1986)MathSciNetCrossRef Allison, L., Dix, T.L.: A bit-string longest common subsequence algorithm. Inf. Process. Lett. 23, 305–310 (1986)MathSciNetCrossRef
4.
Zurück zum Zitat Bergroth, L., Hakonen, H., Raita, T.: A survey of longest common subsequence algorithms. In: Proceedings of 7th International Symposium on String Processing and Information Retrieval, pp. 39–48 (2000) Bergroth, L., Hakonen, H., Raita, T.: A survey of longest common subsequence algorithms. In: Proceedings of 7th International Symposium on String Processing and Information Retrieval, pp. 39–48 (2000)
5.
Zurück zum Zitat Crochemore, M., Iliopoulos, C.S., Pinzon, Y.J., Reid, J.F.: A fast and practical bit-vector algorithm for the longest common subsequence problem. Inf. Process. Lett. 80, 279–285 (2001)MathSciNetCrossRefMATH Crochemore, M., Iliopoulos, C.S., Pinzon, Y.J., Reid, J.F.: A fast and practical bit-vector algorithm for the longest common subsequence problem. Inf. Process. Lett. 80, 279–285 (2001)MathSciNetCrossRefMATH
6.
Zurück zum Zitat Hyyrö, H.: Bit-parallel LCS-length computation revisited. In: Proceedings of 15th Australasian Workshop on Combinatorial Algorithms, pp. 16–27 (2004) Hyyrö, H.: Bit-parallel LCS-length computation revisited. In: Proceedings of 15th Australasian Workshop on Combinatorial Algorithms, pp. 16–27 (2004)
7.
Zurück zum Zitat Kuo, S., Cross, G.R.: An improved algorithm to find the length of the longest common subsequence of two strings. ACM SIGIR Forum 23(3–4), 89–99 (1989)CrossRef Kuo, S., Cross, G.R.: An improved algorithm to find the length of the longest common subsequence of two strings. ACM SIGIR Forum 23(3–4), 89–99 (1989)CrossRef
8.
Zurück zum Zitat Rick, C.: A new flexible algorithm for the longest common subsequence problem. In: Galil, Z., Ukkonen, E. (eds.) CPM 1995. LNCS, vol. 937, pp. 340–351. Springer, Heidelberg (1995). doi:10.1007/3-540-60044-2_53 CrossRef Rick, C.: A new flexible algorithm for the longest common subsequence problem. In: Galil, Z., Ukkonen, E. (eds.) CPM 1995. LNCS, vol. 937, pp. 340–351. Springer, Heidelberg (1995). doi:10.​1007/​3-540-60044-2_​53 CrossRef
10.
Zurück zum Zitat Wu, S., Manber, U., Myers, G., Miller, W.: An \(O(NP)\) sequence comparison algorithm. Inf. Process. Lett. 35, 317–323 (1990)MathSciNetCrossRefMATH Wu, S., Manber, U., Myers, G., Miller, W.: An \(O(NP)\) sequence comparison algorithm. Inf. Process. Lett. 35, 317–323 (1990)MathSciNetCrossRefMATH
Metadaten
Titel
Mining Bit-Parallel LCS-length Algorithms
verfasst von
Heikki Hyyrö
Copyright-Jahr
2017
DOI
https://doi.org/10.1007/978-3-319-67428-5_18