Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <CGR.h>
Static Public Member Functions | |
template<class SymbolType > | |
static ext::set< unsigned > | match (const string::LinearString< SymbolType > &subject, const string::LinearString< SymbolType > &pattern) |
Implementation of the CGR algorithm from article "Constant-space string-matching in sublinear average time" Maxim Crochemore and Leszek Gasieniec and Wojciech Rytter
|
static |
Search for pattern in linear string.