Run-length straight-line programs (RLSLPs) are a technique for grammar-based compression, allowing any string to be represented with optimal space for δ, the substring complexity of the string. We address the compressed pattern matching problem for RLSLPs: Given a compressed text in RLSLP format and an uncompressed pattern, determine if the pattern appears in the text. This paper proposes an algorithm that solves this problem in linear time with respect to the size of the grammar and the length of the pattern.
@InProceedings{iguchi_et_al:LIPIcs.CPM.2025.9, author = {Iguchi, Yuto and Yoshinaka, Ryo and Shinohara, Ayumi}, title = {{Pattern Matching on Run-Length Grammar-Compressed Strings in Linear Time}}, booktitle = {36th Annual Symposium on Combinatorial Pattern Matching (CPM 2025)}, pages = {9:1--9:16}, series = {Leibniz International Proceedings in Informatics (LIPIcs)}, ISBN = {978-3-95977-369-0}, ISSN = {1868-8969}, year = {2025}, volume = {331}, editor = {Bonizzoni, Paola and M\"{a}kinen, Veli}, publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik}, address = {Dagstuhl, Germany}, URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.CPM.2025.9}, URN = {urn:nbn:de:0030-drops-231034}, doi = {10.4230/LIPIcs.CPM.2025.9}, annote = {Keywords: pattern matching, run-length straight-line programs, compression, suffix tree} }
Feedback for Dagstuhl Publishing