Approximate Matching for Run-Length Encoded Strings Is 3SUM-Hard

被引:0
作者
Chen, Kuan-Yu [1 ]
Hsu, Ping-Hui [1 ]
Chao, Kun-Mao [1 ]
机构
[1] Natl Taiwan Univ, Dept Comp Sci & Informat Engn, Taipei 106, Taiwan
来源
COMBINATORIAL PATTERN MATCHING, PROCEEDINGS | 2009年 / 5577卷
关键词
run-length encoding; 3SUM; wildcard matching; k-mismatches; alignment; EDIT DISTANCE; ALGORITHMS;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
In this paper, we consider a commonly used compression scheme called run-length encoding (abbreviated RLE). We provide lower bounds for problems of approximately matching two RLE strings. Specifically, we show that the wildcard matching and k-mismatches problems for RLE strings are 3SUM-hard. For two RLE strings of m and n runs, such a result implies that it is very unlikely to devise an o(mn)-time algorithm for either problem. We then propose an O(mn + p log m)-time sweep-line algorithm for their combined problem, i.e. wildcard matching with mismatches, where p <= mn is the number of matched or mismatched runs. Furthermore, the problem of aligning two RLE, strings is also shown to be 3SUM-hard.
引用
收藏
页码:168 / 179
页数:12
相关论文
共 24 条
[1]   GENERALIZED STRING MATCHING [J].
ABRAHAMSON, K .
SIAM JOURNAL ON COMPUTING, 1987, 16 (06) :1039-1051
[2]   Faster algorithms for string matching with k mismatches [J].
Amir, A ;
Lewenstein, M ;
Porat, E .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2004, 50 (02) :257-275
[3]  
Amir A., 1992, DCC '92. Data Compression Conference (Cat. No.92TH0436-6), P279, DOI 10.1109/DCC.1992.227453
[4]   Inplace run-length 2d compressed search [J].
Amir, A ;
Landau, GM ;
Sokol, D .
THEORETICAL COMPUTER SCIENCE, 2003, 290 (03) :1361-1383
[5]   Matching for run-length encoded strings [J].
Apostolico, A ;
Landau, GM ;
Skiena, S .
JOURNAL OF COMPLEXITY, 1999, 15 (01) :4-16
[6]   Edit distance of run-length encoded strings [J].
Arbell, O ;
Landau, GM ;
Mitchell, JSB .
INFORMATION PROCESSING LETTERS, 2002, 83 (06) :307-314
[7]   Subquadratic algorithms for 3SUM [J].
Baran, Ilya ;
Demaine, Erik D. ;
Patrascu, Mihai .
ALGORITHMICA, 2008, 50 (04) :584-596
[8]   Polygon containment and translational min-Hausdorff-distance between segment sets are 3SUM-hard [J].
Barequet, G ;
Har-Peled, S .
INTERNATIONAL JOURNAL OF COMPUTATIONAL GEOMETRY & APPLICATIONS, 2001, 11 (04) :465-474
[9]   Fast variable run-length coding for embedded progressive wavelet-based image compression [J].
Berghorn, W ;
Boskamp, T ;
Lang, M ;
Peitgen, HO .
IEEE TRANSACTIONS ON IMAGE PROCESSING, 2001, 10 (12) :1781-1790
[10]  
BODSON D, 1989, FAX DIGITAL FACSIMIL