Space-efficient conversions from SLPs
Data Structures and Algorithms
2023-10-11 v4
Abstract
We give algorithms that, given a straight-line program (SLP) with rules that generates (only) a text , builds within space the Lempel-Ziv (LZ) parse of (of phrases) in time or in time . We also show how to build a locally consistent grammar (LCG) of optimal size from the SLP within space and in time, where is the substring complexity measure of . Finally, we show how to build the LZ parse of from such a LCG within space and in time . All our results hold with high probability.
Keywords
Cite
@article{arxiv.2212.02327,
title = {Space-efficient conversions from SLPs},
author = {Travis Gagie and Adrián Goga and Artur Jeż and Gonzalo Navarro},
journal= {arXiv preprint arXiv:2212.02327},
year = {2023}
}