#position #choose #equals #person #reservoir #properbility #attending

choosen

An easy program that choose some attending person, with equal properbility for each position

2 unstable releases

0.1.0 May 15, 2021
0.0.1 May 4, 2021

#1554 in Algorithms

GPL-3.0-or-later

16KB
367 lines

Choosen

This crate provides a trait API ReserviorSampler that A sampler using the Reservoir algorithm should implement. It also provide a basic Reservoir that more like the real Reservoir -- even the reservoir is not fullfilled, liquid inside the reservoir exchanges positions.

Dependencies

~320KB