ADS
Algorithms and Data Structures
Toggle main menu visibility
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
"
70
#include "
ADS/compression/LempelZiv.h
"
71
#include "
ADS/string/SuffixArray.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
84
namespace
ADS
85
{
86
124
[[nodiscard]]
inline
std::vector< LZ77Phrase >
125
lz77ParseLinear
( 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
/*--------------------------------------------------------------------------*/
Contract.h
The contracts of ADS: the preconditions, the postconditions and the invariants of the operations,...
LempelZiv.h
The compressors of Lempel and Ziv (chapter 13, Dictionary-Based Compressors, of Ferragina's book,...
SuffixArray.h
The suffix array of a text of symbols, beyond the book: is the starting place of the -th smallest ...
ADS::lz77ParseLinear
std::vector< LZ77Phrase > lz77ParseLinear(std::string_view s)
the phrases of LZ77 of with no window, in time
ADS
Definition
ADT.h:96
ADS
compression
LZ77Linear.h
Generated by
1.17.0