Help Guide Privacy Policy Disclaimer Contact us
  Advanced SearchBrowse




Conference Paper

Approximation of Grammar-based Compression via Recompression


Jeż,  Artur
Algorithms and Complexity, MPI for Informatics, Max Planck Society;

There are no locators available
Fulltext (public)
There are no public fulltexts available
Supplementary Material (public)
There is no public supplementary material available

Jeż, A. (2013). Approximation of Grammar-based Compression via Recompression. In J. Fischer, & P. Sanders (Eds.), Combinatorial Pattern Matching (pp. 165-176). Berlin: Springer. doi:10.1007/978-3-642-38905-4_17.

Cite as:
We present a simple linear-time algorithm constructing a~context-free grammar of size O(g \log (N/g)) for the input string of size N, where g the size of the optimal grammar generating this string. The algorithm works for arbitrary size alphabets, but the running time is linear assuming that the alphabet Σ of the input string is a subset of 1,\ldots , N^c for some constant c. Algorithms with such an approximation guarantees and running time are known, the novelty of this paper is the particular simplicity of the algorithm as well as the analysis of the algorithm, which uses a general technique of recompression recently introduced by the author. Furthermore, contrary to the previous results, this work does not use the LZ representation of the input string in the construction, nor in the analysis.