arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1309.4958cs.DScs.FL
收藏

最小线性树文法的逼近

Approximation of smallest linear tree grammar

Artur Jeż, Markus Lohrey

摘要:

给出了一个简单的线性时间算法来构造一个长度为O(rg + rg log(n/rg))的线性上下文无关树文法,其中g是T的最小线性上下文无关树文法的长度,r是T中符号的最大秩(在许多应用中它是一个常数).这是基于语法的树压缩算法的第一个例子,它具有良好的近似比,即输入树大小的对数近似比。该算法的分析使用了从字符串到树的再压缩技术的扩展。

英文摘要:

A simple linear-time algorithm for constructing a linear context-free tree grammar of size O(rg + r g log (n/r g))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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑