SchmidtSchauß, Manfred
Matching of Compressed Patterns with CharacterVariables
Abstract
We consider the problem of finding an instance of a stringpattern s in a given string under compression by straight line programs (SLP). The variables of the string pattern can be instantiated by single characters. This is a generalisation of the fully compressed pattern match, which is the task of finding a compressed string in another compressed string, which is known to have a polynomial time algorithm.
We mainly investigate patterns s that are linear in the variables, i.e. variables occur at most once in s, also known as partial words.
We show that fully compressed pattern matching with linear patterns can be performed in polynomial time. A polynomialsized representation of all matches and all substitutions is also computed.
Also, a related algorithm is given that computes all periods of a compressed linear pattern in polynomial time. A technical key result on the structure of partial words shows that an overlap of h+2 copies of a partial word w with at most h holes implies that w is strongly periodic.
BibTeX  Entry
@InProceedings{schmidtschau:LIPIcs:2012:3498,
author = {Manfred SchmidtSchau{\ss}},
title = {{Matching of Compressed Patterns with CharacterVariables}},
booktitle = {23rd International Conference on Rewriting Techniques and Applications (RTA'12) },
pages = {272287},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {9783939897385},
ISSN = {18688969},
year = {2012},
volume = {15},
editor = {Ashish Tiwari},
publisher = {Schloss DagstuhlLeibnizZentrum fuer Informatik},
address = {Dagstuhl, Germany},
URL = {http://drops.dagstuhl.de/opus/volltexte/2012/3498},
URN = {urn:nbn:de:0030drops34981},
doi = {http://dx.doi.org/10.4230/LIPIcs.RTA.2012.272},
annote = {Keywords: matching, grammarbased compression, partial words}
}
2012
Keywords: 

matching, grammarbased compression, partial words 
Seminar: 

23rd International Conference on Rewriting Techniques and Applications (RTA'12)

Related Scholarly Article: 


Issue date: 

2012 
Date of publication: 

2012 