A Rust library for iterating over random permutations.
-
Updated
Jun 15, 2021 - Rust
A Rust library for iterating over random permutations.
Implementation of a Generalized-Feistel Cipher for generating random permutations.
🔀 The standard algorithm for generating a uniformly chosen random permutation. Devised by Ronald Fisher and Frank Yates, modernized by Richard Durstenfeld and popularized by Donald E. Knuth. This version permits Sattolo cycles as well as seeded/keyed shuffles and unshuffles.
Melbourne C++ Meetup materials
First AED Project - Algorithms to solve a problem in C using different methods (brute force, branch-and-bound, random permutations)
An efficient random item sampler that ensures O(1) sampling complexity, and equal selection probability for all items across cycles. Each cycle ensures unique, non-repeating item selections, with each item sampled only once per cycle. Upon cycle completion, the sampler automatically refreshes, initiating a new cycle to repeat the process.
Add a description, image, and links to the random-permutations topic page so that developers can more easily learn about it.
To associate your repository with the random-permutations topic, visit your repo's landing page and select "manage topics."