On Two LZ78-style Grammars: Compression Bounds and Compressed-Space Computation
arXiv:1705.09538
Abstract
We investigate two closely related LZ78-based compression schemes: LZMW (an old scheme by Miller and Wegman) and LZD (a recent variant by Goto et al.). Both LZD and LZMW naturally produce a grammar for a string of length ; we show that the size of this grammar can be larger than the size of the smallest grammar by a factor but is always within a factor . In addition, we show that the standard algorithms using working space to construct the LZD and LZMW parsings, where is the size of the parsing, work in time in the worst case. We then describe a new Las Vegas LZD/LZMW parsing algorithm that uses space and time w.h.p..
12 pages, accepted to SPIRE 2017