Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
tree::properties::ReversedBadCharacterShiftTable Class Reference

#include <ReversedBadCharacterShiftTable.h>

Static Public Member Functions

template<class SymbolType >
static ext::map< common::ranked_symbol< SymbolType >, size_t > bcs (const tree::PrefixRankedBarPattern< SymbolType > &pattern)
 
template<class SymbolType >
static ext::map< common::ranked_symbol< SymbolType >, size_t > bcs (const tree::PrefixRankedBarNonlinearPattern< SymbolType > &pattern)
 
template<class SymbolType >
static ext::map< common::ranked_symbol< SymbolType >, size_t > bcs (const tree::PrefixRankedPattern< SymbolType > &pattern)
 
template<class SymbolType >
static ext::map< common::ranked_symbol< SymbolType >, size_t > bcs (const tree::PrefixRankedNonlinearPattern< SymbolType > &pattern)
 

Detailed Description

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

Member Function Documentation

◆ bcs() [1/4]

template<class SymbolType >
ext::map< common::ranked_symbol< SymbolType >, size_t > tree::properties::ReversedBadCharacterShiftTable::bcs ( const tree::PrefixRankedBarNonlinearPattern< SymbolType > &  pattern)
static
Here is the call graph for this function:

◆ bcs() [2/4]

template<class SymbolType >
ext::map< common::ranked_symbol< SymbolType >, size_t > tree::properties::ReversedBadCharacterShiftTable::bcs ( const tree::PrefixRankedBarPattern< SymbolType > &  pattern)
static

Search for pattern in linear string.

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

◆ bcs() [3/4]

template<class SymbolType >
ext::map< common::ranked_symbol< SymbolType >, size_t > tree::properties::ReversedBadCharacterShiftTable::bcs ( const tree::PrefixRankedNonlinearPattern< SymbolType > &  pattern)
static
Here is the call graph for this function:

◆ bcs() [4/4]

template<class SymbolType >
ext::map< common::ranked_symbol< SymbolType >, size_t > tree::properties::ReversedBadCharacterShiftTable::bcs ( const tree::PrefixRankedPattern< SymbolType > &  pattern)
static
Here is the call graph for this function:

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