A Space-Saving Approximation Algorithm for Grammar-Based Compression
Hiroshi Sakamoto, Shirou Maruyama, Takuya Kida et al. · IEICE Transactions on Information and Systems · 2009
A space-efficient approximation algorithm for the grammar-based compression problem, which requests for a given string to find a smallest context-free grammar deriving the string, is presented.For the input length n and an optimum CFG size g, the algorithm consumes only O(g log g) space and O(n log * n) time to achieve O((log * n) log n) approximation ratio to the optimum compression, where log * n is the maximum number of logarithms satisfying log log • • • log n > 1.This ratio is thus regarded to almost O(log n), which is the currently best approximation ratio.While g depends on the string, it is known that g = Ω(log n) and g = O n log k n for strings from k-letter alphabet [12].
Cited by 34 works. doi:10.1587/transinf.e92.d.158 Open-access PDF
Authors
References
- The Art of Computer Programming
- The Art of Computer Programming. Volume 2: Seminumerical Algorithms.
- A universal algorithm for sequential data compression
- Compression of individual sequences via variable-rate coding
- A Technique for High-Performance Data Compression
- Complexity and approximation: Combinatorial optimization problems and their approximability properties
- Complexity and Approximation
- Handbook of Theoretical Computer Science, Vol. A: Algorithms and Complexity
- Identifying Hierarchical Structure in Sequences: A linear-time algorithm
- Grammar-based codes: a new class of universal lossless source codes