choosen

Crates.iochoosen
lib.rschoosen
version0.1.0
sourcesrc
created_at2021-05-04 08:04:09.719674
updated_at2021-05-15 14:34:03.11696
descriptionAn easy program that choose some attending person, with equal properbility for each position.
homepage
repository
max_upload_size
id392885
size48,804
Junjie Huang (huangjj27)

documentation

README

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.

Commit count: 0

cargo fmt