Crates.io | choosen |
lib.rs | choosen |
version | 0.1.0 |
source | src |
created_at | 2021-05-04 08:04:09.719674 |
updated_at | 2021-05-15 14:34:03.11696 |
description | An easy program that choose some attending person, with equal properbility for each position. |
homepage | |
repository | |
max_upload_size | |
id | 392885 |
size | 48,804 |
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.