Balancing Straight-line Programs
From MaRDI portal
Abstract: It is shown that a context-free grammar of size that produces a single string (such a grammar is also called a string straight-line program) can be transformed in linear time into a context-free grammar for of size , whose unique derivation tree has depth . This solves an open problem in the area of grammar-based compression. Similar results are shown for two formalism for grammar-based tree compression: top dags and forest straight-line programs. These balancing results are all deduced from a single meta theorem stating that the depth of an algebraic circuit over an algebra with a certain finite base property can be reduced to with the cost of a constant multiplicative size increase. Here, refers to the size of the unfolding (or unravelling) of the circuit.
Recommendations
Cited in
(21)- Finding optimal line balances with OptPack
- Balancing straight-line programs for strings and trees
- Constructing small tree grammars and small circuits for formulas
- A universal tree balancing theorem
- Balancing run-length straight-line programs
- Random access in persistent strings and segment selection
- Iterated straight-line programs
- Space-efficient conversions from SLPs
- Wheeler maps
- Internal pattern matching queries in a text and applications
- Bat-LZ out of hell
- Repetitiveness measures based on string morphisms
- Generalized straight-line programs
- How to find long maximal exact matches and ignore short ones
- Computing string covers in sublinear time
- Space-efficient SLP encoding for O( N)-time random access
- A formal language perspective on factorized representations
- Counting on general run-length grammars
- Pattern matching on run-length grammar-compressed strings in linear time
- FO-query enumeration over SLP-compressed structures of bounded degree
- Constant delay traversal of grammar-compressed graphs with bounded rank
This page was built for publication: Balancing Straight-line Programs
Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q5056417)