S. Ahsan, Syeda Persia Aziz, Mohammad Sohel Rahman
{"title":"运行长度编码字符串的最长公共子序列问题","authors":"S. Ahsan, Syeda Persia Aziz, Mohammad Sohel Rahman","doi":"10.4304/jcp.9.8.1769-1775","DOIUrl":null,"url":null,"abstract":"In this paper, we present a new and efficient algorithm for solving the longest common subsequence problem between two run-length-encoded (RLE) strings. Suppose Ŷ and X are two RLE strings having length k and ℓ, respectively. Also, assume that Y and X are the two uncompressed versions of the two RLE strings Ŷ and X having length k and ℓ respectively. Then, our algorithm runs in O((k + ℓ)+R loglog(kℓ) + R log log ω) time, where ω = k + ℓ and R is the total number of ordered pairs of positions at which the two RLE strings match. Our algorithm outperforms the best algorithms for the same problem in the literature.","PeriodicalId":127060,"journal":{"name":"2012 15th International Conference on Computer and Information Technology (ICCIT)","volume":"55 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"5","resultStr":"{\"title\":\"Longest common subsequence problem for run-length-encoded strings\",\"authors\":\"S. Ahsan, Syeda Persia Aziz, Mohammad Sohel Rahman\",\"doi\":\"10.4304/jcp.9.8.1769-1775\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"In this paper, we present a new and efficient algorithm for solving the longest common subsequence problem between two run-length-encoded (RLE) strings. Suppose Ŷ and X are two RLE strings having length k and ℓ, respectively. Also, assume that Y and X are the two uncompressed versions of the two RLE strings Ŷ and X having length k and ℓ respectively. Then, our algorithm runs in O((k + ℓ)+R loglog(kℓ) + R log log ω) time, where ω = k + ℓ and R is the total number of ordered pairs of positions at which the two RLE strings match. Our algorithm outperforms the best algorithms for the same problem in the literature.\",\"PeriodicalId\":127060,\"journal\":{\"name\":\"2012 15th International Conference on Computer and Information Technology (ICCIT)\",\"volume\":\"55 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-12-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"5\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 15th International Conference on Computer and Information Technology (ICCIT)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.4304/jcp.9.8.1769-1775\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 15th International Conference on Computer and Information Technology (ICCIT)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.4304/jcp.9.8.1769-1775","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Longest common subsequence problem for run-length-encoded strings
In this paper, we present a new and efficient algorithm for solving the longest common subsequence problem between two run-length-encoded (RLE) strings. Suppose Ŷ and X are two RLE strings having length k and ℓ, respectively. Also, assume that Y and X are the two uncompressed versions of the two RLE strings Ŷ and X having length k and ℓ respectively. Then, our algorithm runs in O((k + ℓ)+R loglog(kℓ) + R log log ω) time, where ω = k + ℓ and R is the total number of ordered pairs of positions at which the two RLE strings match. Our algorithm outperforms the best algorithms for the same problem in the literature.