References & Citations
Computer Science > Information Theory
Title: Comparison of LZ77-type Parsings
(Submitted on 11 Aug 2017 (v1), last revised 23 May 2018 (this version, v3))
Abstract: We investigate the relations between different variants of the LZ77 parsing existing in the literature. All of them are defined as greedily constructed parsings encoding each phrase by reference to a string occurring earlier in the input. They differ by the phrase encodings: encoded by pairs (length + position of an earlier occurrence) or by triples (length + position of an earlier occurrence + the letter following the earlier occurring part); and they differ by allowing or not allowing overlaps between the phrase and its earlier occurrence. For a given string of length $n$ over an alphabet of size $\sigma$, denote the numbers of phrases in the parsings allowing (resp., not allowing) overlaps by $z$ (resp., $\hat{z}$) for "pairs", and by $z_3$ (resp., $\hat{z}_3$) for "triples". We prove the following bounds and provide series of examples showing that these bounds are tight:
$\bullet$ $z \le \hat{z} \le z \cdot O(\log\frac{n}{z\log_\sigma z})$ and $z_3 \le \hat{z}_3 \le z_3 \cdot O(\log\frac{n}{z_3\log_\sigma z_3})$;
$\bullet$ $\frac{1}2\hat{z} < \hat{z}_3 \le \hat{z}$ and $\frac{1}2 z < z_3 \le z$.
Submission history
From: Dmitry Kosolobov [view email][v1] Fri, 11 Aug 2017 14:30:42 GMT (18kb)
[v2] Sun, 10 Dec 2017 23:26:49 GMT (19kb)
[v3] Wed, 23 May 2018 08:51:19 GMT (18kb)
Link back to: arXiv, form interface, contact.