cwalker is an implementation of Walker's sampling method in c++.
Ref: http://www.keithschwarz.com/darts-dice-coins
- setup cmake
git clone https://github.com/mathetake/cwalker
cd cwalker
mkdir build && cd build
cmake ..
- build && run
make
./walker
- run test
make test
MIT