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

#include <BeginToEndIndex.h>

Static Public Member Functions

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

Member Function Documentation

◆ transform()

template<class SymbolType >
ext::set< unsigned > stringology::transform::BeginToEndIndex::transform ( const string::LinearString< SymbolType > &  pattern,
const ext::set< unsigned > &  indexes 
)
static

Transforms a set of occurrences represented by begin indexes to set of occurrences representing by end indexes.

Template Parameters
SymbolTypethe type of symbols in the string
Parameters
patternthe pattern that was being searched for
indexesthe original occurrences
Returns
the set of transformed occurences
Here is the call graph for this function:

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