Skip to main content

Indexed Two-Dimensional String Matching

Years and Authors of Summarized Original Work

  • 2007; Na, Giancarlo, Park

  • 2011; Kim, Na, Sim, Park

Problem Definition

This entry is concerned with designing and building indexes of a two-dimensional matrix, which is basically the generalization of indexes of a string, the suffix tree [12] and the suffix array [11], to a two-dimensional matrix. This problem was first introduced by Gonnet [7]. Informally, a two-dimensional analog of the suffix tree is a tree data structure storing all submatrices of an n × m matrix, n ≥ m. The submatrix tree [2] is an incarnation of such indexes. Unfortunately, building such indexes requires \(\Omega\)(nm2) time [2]. Therefore, much of the attention paid has been restricted to square matrices and submatrices, the important special case in which much better results are available.

For square matrices, the Lsuffix tree and its array form, storing all square submatrices of an n × n matrix, have been proposed [3, 9, 10]. Moreover, the general framework for...

Keywords

  • Index data structures for matrices or images
  • Indexing for matrices or images
  • Two-dimensional indexing for pattern matching
  • Two-dimensional index data structures

This is a preview of subscription content, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-1-4939-2864-4_442
  • Chapter length: 5 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   1,699.99
Price excludes VAT (USA)
  • ISBN: 978-1-4939-2864-4
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Hardcover Book
USD   1,999.99
Price excludes VAT (USA)
Indexed Two-Dimensional String Matching, Fig. 1

Recommended Reading

  1. Cole R, Hariharan R (2003) Faster suffix tree construction with missing suffix links. SIAM J Comput 33:26–42

    CrossRef  MathSciNet  MATH  Google Scholar 

  2. Giancarlo R (1993) An index data structure for matrices, with applications to fast two-dimensional pattern matching. In: Proceedings of workshop on algorithm and data structures, Montréal. Springer Lecture notes in computer science, vol 709, pp 337–348

    Google Scholar 

  3. Giancarlo R (1995) A generalization of the suffix tree to square matrices, with application. SIAM J Comput 24:520–562

    CrossRef  MathSciNet  MATH  Google Scholar 

  4. Giancarlo R, Grossi R (1996) On the construction of classes of suffix trees for square matrices: algorithms and applications. Inf Comput 130:151–182

    CrossRef  MathSciNet  MATH  Google Scholar 

  5. Giancarlo R, Grossi R (1997) Suffix tree data structures for matrices. In: Apostolico A, Galil, Z (eds) Pattern matching algorithms, ch. 11. Oxford University Press, Oxford, pp 293–340

    Google Scholar 

  6. Giancarlo R, Guaiana D (1999) On-line construction of two-dimensional suffix trees. J Complex 15:72–127

    CrossRef  MathSciNet  MATH  Google Scholar 

  7. Gonnet GH (1988) Efficient searching of text and pictures. Technical report OED-88-02, University of Waterloo

    Google Scholar 

  8. Kim DK, Kim YA, Park K (1998) Constructing suffix arrays for multi-dimensional matrices. In: Proceedings of the 9th symposium on combinatorial pattern matching, Piscataway, pp 249–260

    Google Scholar 

  9. Kim DK, Kim YA, Park K (2003) Generalizations of suffix arrays to multi-dimensional matrices. Theor Comput Sci 302:401–416

    CrossRef  MathSciNet  MATH  Google Scholar 

  10. Kim DK, Na JC, Sim JS, Park K (2011) Linear-time construction of two-dimensional suffix trees. Algorithmica 59:269–297

    CrossRef  MathSciNet  MATH  Google Scholar 

  11. Manber U, Myers G (1993) Suffix arrays: a new method for on-line string searches. SIAM J Comput 22:935–948

    CrossRef  MathSciNet  MATH  Google Scholar 

  12. McCreight EM (1976) A space-economical suffix tree construction algorithms. J ACM 23:262–272

    CrossRef  MathSciNet  MATH  Google Scholar 

  13. Na JC, Giancarlo R, Park K (2007) On-line construction of two-dimensional suffix trees in O(n2log n) time. Algorithmica 48:173–186

    CrossRef  MathSciNet  MATH  Google Scholar 

  14. Storer JA (1996) Lossless image compression using generalized LZ1-type methods. In: Proceedings of data compression conference, Snowbird, pp 290–299

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Joong Chae Na .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and Permissions

Copyright information

© 2016 Springer Science+Business Media New York

About this entry

Cite this entry

Na, J., Ferragina, P., Giancarlo, R., Park, K. (2016). Indexed Two-Dimensional String Matching. In: Kao, MY. (eds) Encyclopedia of Algorithms. Springer, New York, NY. https://doi.org/10.1007/978-1-4939-2864-4_442

Download citation