Function ADS::lz77Parse
Defined in File LempelZiv.h
Function Documentation
-
inline std::vector<LZ77Phrase> ADS::lz77Parse(std::string_view s, std::size_t w = std::numeric_limits<std::size_t>::max())
the parse of LZ77 of s with a window of w symbols, the closest among the longest copies
- Pre:
w > 0
- Post:
lz77Decode( result ) == s (an audit)