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

基于文法的无秩树压缩

Grammar-based Compression of Unranked Trees

Adrià Gascón, Markus Lohrey, Sebastian Maneth, Carl Philipp Reh, Kurt Sieber

摘要:

我们引入森林直线程序(FSLP)作为一个压缩表示无序有序节点标记的树。FSLPs是基于森林代数的运算,推广了树直线程序。我们比较了FSLP的简洁性与其他两个压缩方案的未排名的树:顶部dags和树直线程序的第一个孩子/下一个兄弟编码。提供了这些形式主义之间的有效翻译。最后,我们表明,平等的unranked树中的设置,某些符号是关联的或可交换的,可以在多项式时间测试。这推广了以前的结果测试压缩无序排序树的同构。

英文摘要:

We introduce forest straight-line programs (FSLPs) as a compressed representation of unranked ordered node-labelled trees. FSLPs are based on the operations of forest algebra and generalize tree straight-line programs. We compare the succinctness of FSLPs with two other compression schemes for unranked trees: top dags and tree straight-line programs of first-child/next sibling encodings. Efficient translations between these formalisms are provided. Finally, we show that equality of unranked trees in the setting where certain symbols are associative or commutative can be tested in polynomial time. This generalizes previous results for testing isomorphism of compressed unordered ranked trees.

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

↑