arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1504.05535cs.FLcs.DS
收藏

使用字符串文法的树压缩

Tree compression using string grammars

Moses Ganardi, Danny Hucke, Markus Lohrey, Eric Noeth

摘要:

我们研究的压缩表示的排序树的(字符串)直线程序(SLP)的前序遍历,并比较它与良好的研究表示的直线上下文无关树文法(也被称为树直线程序或TSLP)。虽然SLP变成指数比TSLP更简洁,我们表明,许多简单的树查询仍然可以有效地执行SLP,如计算树的高度和Horton-Strahler数,树导航,或布尔表达式的评价。树遍历中的其他问题,如树自动机的模式匹配和评价等,都是很难解决的。

英文摘要:

We study the compressed representation of a ranked tree by a (string) straight-line program (SLP) for its preorder traversal, and compare it with the well-studied representation by straight-line context free tree grammars (which are also known as tree straight-line programs or TSLPs). Although SLPs turn out to be exponentially more succinct than TSLPs, we show that many simple tree queries can still be performed efficiently on SLPs, such as computing the height and Horton-Strahler number of a tree, tree navigation, or evaluation of Boolean expressions. Other problems on tree traversals turn out to be intractable, e.g. pattern matching and evaluation of tree automata.

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

↑