[][src]Module reservoir_sampling::unweighted

Modules

core

Functions

l

An implementation of Algorithm L (https://en.wikipedia.org/wiki/Reservoir_sampling#An_optimal_algorithm)

r

An implementation of algorithm R (https://en.wikipedia.org/wiki/Reservoir_sampling#Simple_algorithm)