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.

Gemfile
          gem 'weighted_shuffle', '~> 0.2.0'
  
  
  
  
  
  
  

install
          gem install weighted_shuffle
  
  
  
  
  
  
  

Authors:

  • Frank C. Eckert

Owners:

Licenses:

  • MIT

Total downloads 1,117

For this version 407

Required Ruby Version: None

Links:

Versions:

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

Runtime Dependencies: