Abstract
The convolution between a text string of length and a pattern string of length can be computed in time by FFT. It is known that various types of approximate string matching problems are reducible to convolution. In this paper, we assume that the input text string is given in a compressed form, as a \emph{straight-line program (SLP)}, which is a context free grammar in the Chomsky normal form that derives a single string. Given an SLP of size describing a text of length , and an uncompressed pattern of length , we present a simple -time algorithm to compute the convolution between and . We then show that this can be improved to time, where is a value that represents the amount of redundancy that the SLP captures with respect to the length- substrings. The key of the improvement is our new algorithm that computes the convolution between a trie of size and a pattern string of length in time.
Connections
Explore this paper’s authors, topics and related work.
Building this map preview
BZPEER is loading the nearby papers, people, topics and institutions for this page.
Reviews 0
Write a review
No reviews yet.
Discussion 0
Add a comment
No comments yet.