|
Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <PeriodicPrefix.h>
Static Public Member Functions | |
| template<class SymbolType > | |
| static ext::pair< ssize_t, ssize_t > | construct (const string::LinearString< SymbolType > &string) |
|
static |
Computes the longest periodic prefix of a string and its period Naive solution implemented
| string | string to compute the periodic prefix for |