#include <MaximalSuffix.h>
◆ construct()
template<class SymbolType >
Computes maximal suffix and its period of string Inspired be fig.17 in by article Two-way string-matching by Crochemore
- Parameters
-
string | string to compute max suffix for |
- Returns
- Pair of starting index of the suffix and lenght of its period
◆ constructReversed()
template<class SymbolType >
Computes maximal suffix and its period of string for reversed alphabet Inspired be fig.17 in by article Two-way string-matching by Crochemore
- Note
- this is for reversed alphabet
- Parameters
-
string | string to compute max suffix for |
- Returns
- Pair of starting index of the suffix and lenght of its period
The documentation for this class was generated from the following file: