Skip to main content

An Efficient Linear Space Algorithm for Consecutive Suffix Alignment under Edit Distance (Short Preliminary Paper)

  • Conference paper
String Processing and Information Retrieval (SPIRE 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5280))

Included in the following conference series:

Abstract

We discuss the following variant of incremental edit distance computation: Given strings A and B with lengths m and n, respectively, the task is to compute, in n successive iterations j = n ...1, an encoding of the edit distances between A and all prefixes of B j..n . Here B j..n is the suffix of B that begins at its jth character. This type of consecutive suffix alignment [3] is powerful e.g. in solving the cyclic string comparison problem [3]. There are two previous efficient algorithms that are capable of consecutive suffix alignment under edit distance: the algorithm of Landau et al. [2] that runs in O(kn) time and uses O(m + n + k 2) space, and the algorithm of Kim and Park [1] that runs in O((m + n)n) time and uses O(mn) space. Here k is a user-defined upper limit for the computed distances (0 ≤ k ≤ max {m,n}). In this paper we propose the first efficient linear space algorithm for consecutive suffix alignment under edit distance. Our algorithm uses O((m + n)n) time and O(m + n) space.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Kim, S.R., Park, K.: A dynamic edit distance table. Journal of Discrete Algorithms 2(2), 303–312 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  2. Landau, G.M., Myers, E.W., Schmidt, J.: Incremental string comparison. SIAM Journal of Computing 27(2), 557–582 (1998)

    Article  MathSciNet  MATH  Google Scholar 

  3. Landau, G.M., Myers, E.W., Ziv-Ukelson, M.: Two algorithms for LCS consecutive suffix alignment. Journal of Computer and System Sciences 73(7), 1095–1117 (2007)

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Hyyrö, H. (2008). An Efficient Linear Space Algorithm for Consecutive Suffix Alignment under Edit Distance (Short Preliminary Paper). In: Amir, A., Turpin, A., Moffat, A. (eds) String Processing and Information Retrieval. SPIRE 2008. Lecture Notes in Computer Science, vol 5280. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-89097-3_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-89097-3_16

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-89096-6

  • Online ISBN: 978-3-540-89097-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics