Instruct: Identify the main and secondary category of Arxiv papers based on the titles and abstracts
Query: Tree compression using string grammars   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.

3
The categories of this paper are: physics
12
The categories of this paper are: nucl-th
5
The categories of this paper are: gr-qc
29
The categories of this paper are: funct-an
25
The categories of this paper are: patt-sol
7
The categories of this paper are: hep-th
24
The categories of this paper are: dg-ga
9
The categories of this paper are: nlin
8
The categories of this paper are: hep-ex
15
The categories of this paper are: nucl-ex
14
The categories of this paper are: math-ph
0
The categories of this paper are: hep-ph
30
The categories of this paper are: q-alg
33
The categories of this paper are: plasm-ph
31
The categories of this paper are: ao-sci
2
The categories of this paper are: math