arXiv · 1504.05535
Tree compression using string grammars
Abstract
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.
Explore related subjects
Keep this discovery
Moses Ganardi, Danny Hucke, Markus Lohrey, Eric Noeth. 2015-04-21. Tree compression using string grammars. https://arxiv.org/abs/1504.05535
Cite the original work for its findings. Save a collection to share your selection of sources.