Skip to content

Add Context::rng_weighted_choice() helper function#102

Merged
abey79 merged 2 commits into
abey79:masterfrom
afternoon2:feature-rng-weighted-choice
Jan 20, 2024
Merged

Add Context::rng_weighted_choice() helper function#102
abey79 merged 2 commits into
abey79:masterfrom
afternoon2:feature-rng-weighted-choice

Conversation

@afternoon2

Copy link
Copy Markdown
Contributor

Add rng_weighted_choice method to the sketch context in order to customize the probability of specific outcome.

TODO:

  • add example

@abey79

abey79 commented Jan 5, 2024

Copy link
Copy Markdown
Owner

Thanks. Regarding the example: please use rng.rs and update it towards being a systematic demo covering all rng API (so it acts as a mini-doc)

@abey79 abey79 added the whiskers Relates to whiskers or whiskers-derive label Jan 5, 2024
@afternoon2 afternoon2 marked this pull request as ready for review January 10, 2024 11:40
@abey79 abey79 added the feature New feature label Jan 20, 2024
@abey79 abey79 changed the title add rng_weighted_choice Add Context::rng_weighted_choice() helper function Jan 20, 2024
@abey79 abey79 merged commit 6424cf7 into abey79:master Jan 20, 2024
@afternoon2 afternoon2 deleted the feature-rng-weighted-choice branch January 20, 2024 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature whiskers Relates to whiskers or whiskers-derive

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants