From LZ77 to the Run-Length Encoded Burrows-Wheeler Transform, and Back
Abstract
The Lempel-Ziv factorization (LZ77) and the Run-Length encoded Burrows-Wheeler Transform (RLBWT) are two important tools in text compression and indexing, being their sizes and closely related to the amount of text self-repetitiveness. In this paper we consider the problem of converting the two representations into each other within a working space proportional to the input and the output. Let be the text length. We show that can be converted to in time and words of working space. Conversely, we provide an algorithm to convert to in time and words of working space. Note that and can be \emph{constant} if the text is highly repetitive, and our algorithms can operate with (up to) \emph{exponentially} less space than naive solutions based on full decompression.
Keywords
Cite
@article{arxiv.1702.01340,
title = {From LZ77 to the Run-Length Encoded Burrows-Wheeler Transform, and Back},
author = {Alberto Policriti and Nicola Prezza},
journal= {arXiv preprint arXiv:1702.01340},
year = {2017}
}