|
Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <LyndonFactoring.h>
Static Public Member Functions | |
| template<class SymbolType > | |
| static ext::vector< unsigned > | factorize (const string::LinearString< SymbolType > &string) |
|
static |
Computes the lyndon factoring of a given nonempty string (Duval algorithm).
| string | the nonempty string to factorize |