Class Scine::Utils::UniqueRandomNumbersGenerator¶
-
template<class
IntegerType
>
classUniqueRandomNumbersGenerator
¶ Class to sample without replacement N numbers from a range bounded by min_ and max_.
The user gives a minimum number and a maximum number as the boundaries of a range of possible numbers. Upon calling the UniqueRandomNumbersGenerator::generate(unsigned N) function, N values are sampled without replacement from the possible values.