Function ADS::kmpStrong

Function Documentation

inline std::vector<std::size_t> ADS::kmpStrong(std::string_view T, std::string_view P, long *comparisons = nullptr)

kmp() with the strong failure function on a mismatch

Post:

the occurrences of naiveMatching( T , P )