Function ADS::twoWay

Function Documentation

inline std::vector<std::size_t> ADS::twoWay(std::string_view T, std::string_view P)

the places of all the occurrences of P in T, by the Two-Way algorithm of Crochemore and Perrin

Post:

the occurrences of naiveMatching( T , P ) (an audit)