ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
LZ77Linear.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------*/
2/*--------------------------- File LZ77Linear.h ----------------------------*/
3/*--------------------------------------------------------------------------*/
57/*--------------------------------------------------------------------------*/
58/*----------------------------- DEFINITIONS --------------------------------*/
59/*--------------------------------------------------------------------------*/
60
61#ifndef __ADS_LZ77Linear
62 #define __ADS_LZ77Linear
63/* self-identification: #endif constant */
64
65/*--------------------------------------------------------------------------*/
66/*------------------------------ INCLUDES ----------------------------------*/
67/*--------------------------------------------------------------------------*/
68
69#include "ADS/Contract.h"
72
73#include <algorithm>
74#include <cstddef>
75#include <cstdint>
76#include <optional>
77#include <string_view>
78#include <vector>
79
80/*--------------------------------------------------------------------------*/
81/*--------------------------- NAMESPACE ------------------------------------*/
82/*--------------------------------------------------------------------------*/
83
84namespace ADS
85{
86
124[[nodiscard]] inline std::vector< LZ77Phrase >
125lz77ParseLinear( std::string_view s );
126
127/*--------------------------------------------------------------------------*/
128
129} // end( namespace ADS )
130
131/*--------------------------------------------------------------------------*/
132/*-------------------------- IMPLEMENTATION --------------------------------*/
133/*--------------------------------------------------------------------------*/
134
135#include "ADS/compression/impl/LZ77Linear.tpp"
136
137/*--------------------------------------------------------------------------*/
138
139#endif /* LZ77Linear.h included */
140
141/*--------------------------------------------------------------------------*/
142/*------------------------- End File LZ77Linear.h --------------------------*/
143/*--------------------------------------------------------------------------*/
The contracts of ADS: the preconditions, the postconditions and the invariants of the operations,...
The compressors of Lempel and Ziv (chapter 13, Dictionary-Based Compressors, of Ferragina's book,...
The suffix array of a text of symbols, beyond the book: is the starting place of the -th smallest ...
std::vector< LZ77Phrase > lz77ParseLinear(std::string_view s)
the phrases of LZ77 of with no window, in time
Definition ADT.h:96