Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <QuickSearchBadCharacterShiftTable.h>
Static Public Member Functions | |
template<class SymbolType > | |
static ext::map< SymbolType, size_t > | qsbcs (const string::LinearString< SymbolType > &pattern) |
Computation of BCS table for the QuickSearch algorithm, as presented in the Daniel M. Sunday article.
|
static |
Creates a bad character shift table which can be later used for the QuickSearch algorithm.