Grammar-Based Compression of Unranked Trees
Grammar-Based Compression of Unranked Trees
复制标题
DOI:
10.1007/s00224-019-09942-y
复制
发表时间:
2018-02
影响因子:
0.5
通讯作者:
Adrià Gascón;Markus Lohrey;S. Maneth;C. Reh;K. Sieber
中科院分区:
文献类型:
--
作者:
Adrià Gascón;Markus Lohrey;S. Maneth;C. Reh;K. Sieber
We introduce forest straight-line programs (FSLPs for short) 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 and/or commutative can be tested in polynomial time. This generalizes previous results for testing isomorphism of compressed unordered ranked trees. An extended abstract of this paper appeared in Gascóon et al.(2018).