An Online Algorithm for Lightweight Grammar-Based Compression

Grammar-based compression is a well-studied technique to construct a context-free grammar (CFG) deriving a given text uniquely. In this work, we propose an online algorithm for grammar-based compression. Our algorithm guarantees O(log2 n)- approximation ratio for the minimum grammar size, where n is...

Full description

Bibliographic Details
Main Authors: Masayuki Takeda, Hiroshi Sakamoto, Shirou Maruyama
Format: Article
Language:English
Published: MDPI AG 2012-04-01
Series:Algorithms
Subjects:
Online Access:http://www.mdpi.com/1999-4893/5/2/214/