Template Function ADS::lcpArrayPhi(E&, std::string_view, const std::vector<I>&)

Function Documentation

template<Executor E, class I>
std::vector<I> ADS::lcpArrayPhi(E &ex, std::string_view T, const std::vector<I> &SA)

the LCP array of the text T of bytes and its suffix array SA, by the indices I of SA, on the threads of ex: the result of lcpArrayPhi( T ,

SA ) [see

SuffixSorting.h]

Pre:

SA is a suffix array of T