Template Function ADS::selectionSampling

Function Documentation

template<class R>
std::vector<std::size_t> ADS::selectionSampling(std::size_t n, std::size_t N, R &g)

n of the N items 0 , … , N - 1, in order, by one pass

Pre:

n <= N