Constrained Longest Common Subsequences with Run-Length-Encoded Strings

被引:4
作者
Liu, Jia-Jie [1 ]
Wang, Yue-Li [2 ]
Chiu, Yu-Shan [1 ]
机构
[1] Shih Hsin Univ, Dept Informat Management, Taipei 10607, Taiwan
[2] Natl Taiwan Univ Sci & Technol, Dept Informat Management, Taipei, Taiwan
关键词
longest common subsequence; constrained longest common subsequence; run-length-encoding; string compression; EDIT DISTANCE; ALGORITHM;
D O I
10.1093/comjnl/bxu012
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Given two strings X and Y and a constraining string P, a string Z is called a constrained longest common subsequence of X and Y with respect to P if Z is the longest common subsequence of X and Y such that P is a subsequence of Z. In this paper, we propose an O(r x min{mN, nM})-time algorithm for solving this problem, where m, n and r are the lengths of X, Y and P, respectively, and M and N are the number of runs of the run-length-encoded strings of X and Y, respectively.
引用
收藏
页码:1074 / 1084
页数:11
相关论文
共 17 条
  • [1] Ahsan Shegufta Bakht, 2011, INFOCOMP Journal of Computer Science, V10, P48
  • [2] Ahsan SB, 2012, INT CONF COMPUT INFO, P36, DOI 10.1109/ICCITechn.2012.6509736
  • [3] Fast algorithms for computing the constrained LCS of run-length encoded strings
    Ann, Hsing-Yen
    Yang, Chang-Biau
    Tseng, Chiou-Ting
    Hor, Chiou-Yi
    [J]. THEORETICAL COMPUTER SCIENCE, 2012, 432 : 1 - 9
  • [4] Matching for run-length encoded strings
    Apostolico, A
    Landau, GM
    Skiena, S
    [J]. JOURNAL OF COMPLEXITY, 1999, 15 (01) : 4 - 16
  • [5] Edit distance of run-length encoded strings
    Arbell, O
    Landau, GM
    Mitchell, JSB
    [J]. INFORMATION PROCESSING LETTERS, 2002, 83 (06) : 307 - 314
  • [6] Algorithms for the constrained longest common subsequence problems
    Arslan, AN
    Egecioglu, Ö
    [J]. INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2005, 16 (06) : 1099 - 1109
  • [7] AN IMPROVED ALGORITHM FOR COMPUTING THE EDIT DISTANCE OF RUN-LENGTH CODED STRINGS
    BUNKE, H
    CSIRIK, J
    [J]. INFORMATION PROCESSING LETTERS, 1995, 54 (02) : 93 - 96
  • [8] A Fully Compressed Algorithm for Computing the Edit Distance of Run-Length Encoded Strings
    Chen, Kuan-Yu
    Chao, Kun-Mao
    [J]. ALGORITHMICA, 2013, 65 (02) : 354 - 370
  • [9] Hardness of comparing two run-length encoded strings
    Chen, Kuan-Yu
    Hsu, Ping-Hui
    Chao, Kun-Mao
    [J]. JOURNAL OF COMPLEXITY, 2010, 26 (04) : 364 - 374
  • [10] A simple algorithm for the constrained sequence problems
    Chin, FYL
    De Santis, A
    Ferrara, AL
    Ho, NL
    Kim, SK
    [J]. INFORMATION PROCESSING LETTERS, 2004, 90 (04) : 175 - 179