|Info||View files (2)||Download .zip||Reputation||Support forum (1)||Blog|
|Last Updated||Ratings||Unique User Downloads||Download Rankings|
|2009-02-20 (5 years ago)||Not enough user ratings||Total: 668 This week: 1||All time: 4,377 This week: 1,420|
|randomlib 1.4||GNU General Public Lice...||4||Algorithms|
This class can be used to pick a random item from a collection.
It can add to a collection of items that can be values of any type: strings, numbers, objects, etc.. Each item may have a probability weight.
The class can pick one or more random items from the collection. When picking multiple items it may allow repetition of the same item or assure that all the picked items are unique.
It can also pick random items considering their probability weight, so those with greater weight are more likely to be picked.
|Version Control||Unique User Downloads||Download Rankings|
|This week:||1||This week:||1,420|
|User Comments (1)|