#alias #table #random #choice

vosealias

A small implementation of the Walker-Vose alias table algorithm

1 unstable release

Uses old Rust 2015

0.2.0 May 7, 2017

#29 in #choice

MIT license

6KB
122 lines

Docs Status On crates.io

vosealias-rs

A Rust implementation of the Walker-Vose alias method.


lib.rs:

Walker-Vose Alias Method

A simple implementation of alias tables using the Walker-Vose method.

Dependencies

~560–790KB
~11K SLoC