A grammar-compressed (GC) string is a string generated by a context-free grammar. This compression model captures many practical applications, and includes LZ78 and LZW compression as a special case. We give an efficient algorithm for threshold approximate matching on a GC-text against a plain pattern. Our algorithm improves on existing algorithms whenever the pattern is sufficiently long. The algorithm employs the technique of fast unit-Monge matrix distance multiplication, as well as a new technique for implicit unit-Monge matrix searching, which we believe to be of independent interest.
Язык оригиналаанглийский
Название основной публикацииProceedings of the Prague Stringology Conference 2014, PSC 2014
Страницы124-138
Число страниц15
СостояниеОпубликовано - 1 янв 2014

ID: 127707390