Space-Efficient Conversions from SLPs

Gagie, Travis; Jez, Artur

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. © The Author(s), under exclusive license to Springer Nature Switzerland AG 2024.

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
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