Inplace run-length 2d compressed search

被引:11
作者
Amir, A [1 ]
Landau, GM
Sokol, D
机构
[1] Bar Ilan Univ, Dept Math & Comp Sci, IL-52900 Ramat Gan, Israel
[2] Georgia Inst Technol, Coll Comp, Atlanta, GA 30332 USA
[3] Univ Haifa, Dept Comp Sci, IL-31905 Haifa, Israel
[4] Polytech Univ, Dept Informat & Comp Sci, MetroTech Ctr 6, Brooklyn, NY 11201 USA
关键词
D O I
10.1016/S0304-3975(02)00041-5
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The recent explosion in the amount of stored data has necessitated the storage and transmission of data in compressed form. The need to quickly access this data has given rise to a new paradigm in searching, that of compressed matching (Proc. Data Compression Conf, Snow Bird, UT, 1992, pp. 279-288; Proc. 8th Annu. Symp. on Combinatorial Pattern Matching (CPM 97), Lecture Notes in Computer Science, Vol. 1264, Springer, Berlin, 1997, pp. 40-51; Proc. 7th Annu. Symp. on Combinatorial Pattern Matching (CPM 96), Lecture Notes in Computer Science, Vol. 1075, Springer, Berlin, 1996, pp. 39-49). The goal of the compressed pattern matching problem is to find a pattern in a text without decompressing the text. The criterion of extra space is very relevant to compressed searching. An algorithm is called implace if the amount of extra space used is proportional to the input size of the pattern. In this paper we present a 2d compressed matching algorithm that is inplace. Let compressed(T) and compressed(P) denote the compressed text and pattern, respectively. The algorithm presented in this paper runs in time O(\compressed(T)\ + \P\log sigma) where a is min(\P\, \Sigma\), and Sigma is the alphabet, for all patterns that have no trivial rows (rows consisting of a single repeating symbol). The amount of space used is O(\compressed(P)\). The compression used is the 2d run-length compression, used in FAX transmission. (C) 2002 Elsevier Science B.V. All rights reserved.
引用
收藏
页码:1361 / 1383
页数:23
相关论文
共 15 条
[1]   Optimal two-dimensional compressed matching [J].
Amir, A ;
Benson, G ;
Farach, M .
JOURNAL OF ALGORITHMS, 1997, 24 (02) :354-379
[2]   AN ALPHABET INDEPENDENT APPROACH TO 2-DIMENSIONAL PATTERN-MATCHING [J].
AMIR, A ;
BENSON, G ;
FARACH, M .
SIAM JOURNAL ON COMPUTING, 1994, 23 (02) :313-323
[3]   Two-dimensional periodicity in rectangular arrays [J].
Amir, A ;
Benson, G .
SIAM JOURNAL ON COMPUTING, 1998, 27 (01) :90-106
[4]  
Amir A, 2000, PROCEEDINGS OF THE ELEVENTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P817
[5]  
AMIR A, 1992, PROCEEDINGS OF THE THIRD ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P440
[6]  
Amir A., 1992, P 2 IEEE DAT COMPR C, P279
[7]  
Berman P, 1997, LECT NOTES COMPUT SC, V1264, P40
[8]  
Farach M., 1995, Proceedings of the Twenty-Seventh Annual ACM Symposium on the Theory of Computing, P703, DOI 10.1145/225058.225288
[9]   Alphabet-independent two-dimensional witness computation [J].
Galil, Z ;
Park, K .
SIAM JOURNAL ON COMPUTING, 1996, 25 (05) :907-935
[10]  
Gasieniec L., 1996, LNCS, V1075, P39