Skip to main content

Efficient Representations of Row-Sorted 1-Variant Matrices for Parallel String Applications

  • Conference paper
Algorithms and Architectures for Parallel Processing (ICA3PP 2007)

Abstract

We investigate the efficient storage of row-sorted 1-variant (m + 1) ×(n + 1) matrices, m > n, that have the following properties: the rows are sorted in strictly increasing order and the set of elements of each row differs only by one single element from the set of elements of the next row. It has been shown that row-sorted 1-variant matrices are important in several parallel string comparison applications. Due to the large amount of redundancy in the row elements, we investigate efficient data structures to store such matrices. In this paper we propose a representation that stores a row-sorted 1-variant matrix in O(m logm) space and access time of O(logm) and can be constructed in O(m logm) time. We thus seek a representation that constitutes a nice balance between access time, representation construction time, and space requirement.

Partially supported by FAPESP Proc. No. 2004/08928-3, CNPq Proc. No. 55.0094/05-9, 30.5362/06-2, 30.2942/04-1, 62.0123/04-4, 48.5460/06-8 and FUNDECT 41/100.115/2006.

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. Alves, C.E.R.: Coarse-Grained Parallel Algorithms for String Alignment Problems (in Portuguese). PhD thesis, Department of Computer Science - University of São Paulo (2002)

    Google Scholar 

  2. Alves, C.E.R., Cáceres, E.N., Song, S.W.: Sequential and parallel algorithms for the all-substrings longest common subsequence problem. Technical report, Universidade de São Paulo (April 2003)

    Google Scholar 

  3. Alves, C.E.R., Cáceres, E.N., Song, S.W.: An all-substrings common subsequence algorithm. 2nd Brazilian Symposium on Graphs, Algorithms and Combinatorics. Electronic Notes in Discrete Mathematics 19, 133–139 (2005)

    Article  Google Scholar 

  4. Alves, C.E.R., Cáceres, E.N., Song, S.W.: A coarse-grained parallel algorithm for the all-substrings longest common subsequence problem. Algorithmica 45(3), 301–335 (2006)

    Article  MATH  MathSciNet  Google Scholar 

  5. Alves, C.E.R., Cáceres, E.N., Song, S.W.: An all-substrings common subsequence algorithm. Discrete Applied Mathematics (to Appear, 2007)

    Google Scholar 

  6. Alves, C.E.R., Lago, A.P., Vellozo, A.P.: Alignment with non-overlapping inversions in O(n 3 logn) time. 2nd Brazilian Symposium on Graphs, Algorithms and Combinatorics. Electronic Notes in Discrete Mathematics 19, 365–371 (2005)

    Article  Google Scholar 

  7. Apostolico, A., Atallah, M.J., Larmore, L.L., Macfaddin, S.: Efficient parallel algorithms for string editing and related problems. SIAM J. Comput. 5(19), 968–988 (1990)

    Article  Google Scholar 

  8. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms. The MIT Press, Cambridge, MA (1989)

    Google Scholar 

  9. Lu, M., Lin, H.: Parallel algorithms for the longest common subsequence problem. IEEE Transactions on Parallel and Distributed Systems 5(8), 835–848 (1994)

    Article  Google Scholar 

  10. Pevzner, P.A.: Computational Molecular Biology - An Algorithmic Approach. The MIT Press, Cambridge, MA (2000)

    MATH  Google Scholar 

  11. Tiskin, A.: All semi-local longest common subsequences in subquadratic time. In: Grigoriev, D., Harrison, J., Hirsch, E.A. (eds.) CSR 2006. LNCS, vol. 3967, pp. 352–363. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Hai Jin Omer F. Rana Yi Pan Viktor K. Prasanna

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Alves, C.E.R., Cáceres, E.N., Song, S.W. (2007). Efficient Representations of Row-Sorted 1-Variant Matrices for Parallel String Applications. In: Jin, H., Rana, O.F., Pan, Y., Prasanna, V.K. (eds) Algorithms and Architectures for Parallel Processing. ICA3PP 2007. Lecture Notes in Computer Science, vol 4494. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-72905-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-72905-1_6

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-72904-4

  • Online ISBN: 978-3-540-72905-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics