The alignments constitute one of the processes used to compare strings. They allow to visualize the resemblance between strings. This chapter deals with several methods that perform the comparison of two strings in this sense. The extension to comparison methods of more than two strings is delicate, leads to algorithms whose execution time is at least exponential, and is not treated here.
The alignments are based on notions of distance or of similarity between strings. The computations are usually performed by dynamic programming. A typical example is the computation of the longest subsequence common to two strings since it shows the algorithmic techniques to implement in order to obtain an efficient computation. In particular, the reduction of the memory space obtained by one of the algorithms constitute a strategy that can often be applied in the solutions to close problems.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2008 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Crochemore, M., Lecroq, T. (2008). Alignments and Approximate String Matching. In: Bel-Enguix, G., Jiménez-López, M.D., Martín-Vide, C. (eds) New Developments in Formal Languages and Applications. Studies in Computational Intelligence, vol 113. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-78291-9_3
Download citation
DOI: https://doi.org/10.1007/978-3-540-78291-9_3
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-78290-2
Online ISBN: 978-3-540-78291-9
eBook Packages: EngineeringEngineering (R0)