Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
4950745 | Information and Computation | 2016 | 37 Pages |
Abstract
A simple linear-time algorithm for constructing a linear context-free tree grammar of size O(rg+rglogâ¡(n/rg)) for a given input tree T of size n is presented, where g is the size of a minimal linear context-free tree grammar for T, and r is the maximal rank of symbols in T (which is a constant in many applications). This is the first example of a grammar-based tree compression algorithm with a good, i.e. logarithmic in terms of the size of the input tree, approximation ratio. The analysis of the algorithm uses an extension of the recompression technique from strings to trees.
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics
Authors
Artur Jeż, Markus Lohrey,