Space-Efficient Conversions from SLPs
Abstract
We give algorithms that, given a straight-line program (SLP) with g rules that generates (only) a text T[1..n], build within O(g) space the Lempel-Ziv (LZ) parse of T (of z phrases) in time O(nlog2n) or in time O(gzlog2(n/z)). We also show how to build a locally consistent grammar (LCG) of optimal size glc=O(δlognδ) from the SLP within O(g+glc) space and in O(nlogg) time, where δ is the substring complexity measure of T. Finally, we show how to build the LZ parse of T from such an LCG within O(glc) space and in time O(zlog2nlog2(n/z)). All our results hold with high probability.
Más información
| Título según WOS: | Space-Efficient Conversions from SLPs |
| Título según SCOPUS: | Space-Efficient Conversions from SLPs |
| Título de la Revista: | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
| Volumen: | 14578 |
| Editorial: | Springer Science and Business Media Deutschland GmbH |
| Fecha de publicación: | 2024 |
| Página de inicio: | 146 |
| Página final: | 161 |
| Idioma: | English |
| DOI: |
10.1007/978-3-031-55598-5_10 |
| Notas: | ISI, SCOPUS |