9#include <string/LinearString.h>
27 template <
class SymbolType >
32template <
class SymbolType >
39 sort ( data.
begin ( ), data.
end ( ), [ & ] (
unsigned first,
unsigned second ) {
40 for ( ; first < w.getContent ( ).size ( ) && second < w.getContent ( ).size ( ); ++ first, ++ second ) {
41 auto res = w.getContent ( ) [ first ] <=> w.getContent ( ) [ second ];
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
auto begin() &
Inherited behavior of begin for non-const instance.
Definition: vector.hpp:125
auto end() &
Inherited behavior of end for non-const instance.
Definition: vector.hpp:155
Suffix array string index. Linear representation of all suffixes ordered lexicographically....
Definition: SuffixArray.h:51
Linear string.
Definition: LinearString.h:57
const ext::vector< SymbolType > & getContent() const &
Definition: LinearString.h:238
Definition: SuffixArrayNaive.h:20
static indexes::stringology::SuffixArray< SymbolType > construct(const string::LinearString< SymbolType > &w)
Definition: SuffixArrayNaive.h:33
p second
Definition: ToRegExpAlgebraic.h:126
int i
Definition: AllEpsilonClosure.h:118
Definition: ArithmeticCompression.h:18