Skip to content

Generate random choices such as activities, places, groceries that have different costs or prizes, based on a distribution table of relative values of probability.

Notifications You must be signed in to change notification settings

wuwbobo2021/random-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-picker

Generates random choices based on the weight table of probabilities. It can be used to calculate each item's probability of being picked up when picking a given amount of non-repetitive items (multi-thread), or to compare the speed of OS random source with that of the CSPRNG.

Documentation: https://docs.rs/random_picker/latest.

Current version of this program is able to load table files created by the old C++ version, just for comparing their behaviors.

This crate is looking for new maintainers having more knowledge and interests in this topic.

About

Generate random choices such as activities, places, groceries that have different costs or prizes, based on a distribution table of relative values of probability.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages