Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
stringology::exact::ReversedBoyerMooreHorspool Class Reference

#include <ReversedBoyerMooreHorspool.h>

Static Public Member Functions

template<class SymbolType >
static ext::set< unsigned > match (const string::LinearString< SymbolType > &string, const string::LinearString< SymbolType > &pattern)
 

Detailed Description

Implementation of BMH for MI(E+\eps)-EVY course 2014 (Reversed) To get rid of zeros in BCS table we ignore last haystack character

Member Function Documentation

◆ match()

template<class SymbolType >
ext::set< unsigned > stringology::exact::ReversedBoyerMooreHorspool::match ( const string::LinearString< SymbolType > &  string,
const string::LinearString< SymbolType > &  pattern 
)
static

Search for pattern in linear string.

Returns
set set of occurences
Here is the call graph for this function:

The documentation for this class was generated from the following file: