Module core
reservoir_sampling::unweighted
An implementation of Algorithm L (https://en.wikipedia.org/wiki/Reservoir_sampling#An_optimal_algorithm)
L
An implementation of algorithm R (https://en.wikipedia.org/wiki/Reservoir_sampling#Simple_algorithm)
R