pith. the verified trust layer for science. sign in

arxiv: 1802.05490 · v1 · pith:2BC364SLnew · submitted 2018-02-15 · 💻 cs.DS · cs.FL

Grammar-based Compression of Unranked Trees

classification 💻 cs.DS cs.FL
keywords treesunrankedfslpsprogramsstraight-linecompressedcompressionforest
0
0 comments X p. Extension
Add this Pith Number to your LaTeX paper What is a Pith Number?
\usepackage{pith}
\pithnumber{2BC364SL}

Prints a linked pith:2BC364SL badge after your title and writes the identifier into PDF metadata. Compiles on arXiv with no extra files. Learn more

read the original abstract

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.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.