RubyGems Navigation menu

weighted_shuffle 0.2.0

An extension to the Fisher-Yates-Shuffle algorithm to support weights. It includes a ruby core extension for arrays.

Versions:

  1. 0.2.0 - January 30, 2014 (7 KB)
  2. 0.1.0 - July 9, 2013 (7 KB)

Runtime Dependencies:

Authors:

  • Frank C. Eckert

Owners:

464977ca8ea40fc0dee0e4b6f6a22995

Total downloads 1,128

For this version 412

Required Ruby Version: None

Licenses:

MIT

Gemfile:
gem 'weighted_shuffle', '~> 0.2.0' = Copy to clipboard Copied!

install:
gem install weighted_shuffle = Copy to clipboard Copied!

Links: