MetaCartSign in to MyCiteSeer

Include Citations | Advanced Search | Help

Include Citations | Advanced Search | Help

  z

Download:
Download as a PDF | Download as a PS
by Marek Karpinski, Lawrence L. Larmore, Wojciech Plandowski, Wojciech Rytter
http://theory.cs.uni-bonn.de/~marek/publications/proc_cpm97.ps.Z
Add To MetaCart

Abstract:

We consider the complexity of problems related to 2-dimensional texts (2d-texts) described succinctly. In a succinct description, larger rectangular sub-texts are defined in terms of smaller parts in a way similar to that of Lempel-Ziv compression for 1-dimensional texts, or in shortly described strings as in [9], or in hierarchical graphs described by context-free graph grammars. A given 2d-text T with many internal repetitions can have a hierarchical description (denoted Compress(T)) which is up to exponentially smaller and which can be the only part of the input for a pattern-matching algorithm which gives information about T. Such a hierarchical description is given in terms of a straight-line program, see [9] or, equivalently, a 2-dimensional grammar. We consider compressed pattern-matching, where the input consists of a 2d-pattern P and of a hierarchical description of a 2d-text T, and fully compressed pattern-matching, where the input consists of hierarchical descriptions of both the pattern P and the text T. For 1-dimensional strings there exist polynomial-time deterministic algorithms for these problems, for similar types of succinct text descriptions [2, 6, 8, 9]. We show that the complexity dramatically increases in a 2-dimensional setting. For example, compressed 2d-matching is NP-complete, fully compressed 2d-matching is \Sigma P

Citations

7709 Computers and Intractability: A Guide to the Theory of NP-Completeness – Garey, Johnson - 1979
2049 The Design and Analysis of Computer Algorithms – Aho, Hopcroft, et al. - 1974
1321 Randomized Algorithms – Motwani, Raghavan - 1995
313 Text algorithms – Crochemore, Rytter - 1994
165 Probabilistic Algorithms for Sparse Polynominals – Zippel - 1979
147 Data Compression: Methods and Theory – Storer - 1988
133 On the complexity of finite sequences – Lempel, Ziv - 1976
72 String matching in lempel-ziv compressed strings – Farach, Thorup - 1995
64 Efficient two-dimensional com-pressed matching – Amir, Benson - 1992
28 Testing equivalence of morphisms on context-free languages – Plandowski - 1994
22 Pattern-matching for strings with short descriptions – Karpinski, Rytter, et al. - 1995
10 The Art of Computing, Vol. II: Seminumerical Algorithms. Second edition – Knuth - 1981
10 Papadimitriou: Computational Complexity – H - 1994
8 Let sleeping files lie: pattern-matching – Amir, Benson, et al. - 1994
6 Compression of two-dimensional images sequences, Combinatorial Algorithms on Words – Lempel, Ziv - 1985
5 Efficient Algorithms for Compressed Strings – Gasieniec, Karpi'nski, et al. - 1996