13#include <string/LinearString.h>
27 template <
class SymbolType >
32template <
class SymbolType >
34 int n =
string.getContent ( ).size ( );
41 while ( j < n &&
string.getContent ( ) [ k ] <=
string.getContent ( ) [ j ] ) {
42 if (
string.getContent ( ) [ k ] <
string.getContent ( ) [ j ] )
49 factorization.push_back (
i );
Class extending the vector class from the standard library. Original reason is to allow printing of t...
Definition: vector.hpp:45
Linear string.
Definition: LinearString.h:57
Definition: LyndonFactoring.h:19
static ext::vector< unsigned > factorize(const string::LinearString< SymbolType > &string)
Definition: LyndonFactoring.h:33
int i
Definition: AllEpsilonClosure.h:118
Definition: ArithmeticCompression.h:18