-
-
05 Jul 2022 00:05:09 UTC
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (335 / 0 / 1)
- Kwalitee
Bus factor: 1- % Coverage
- License: perl_5
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (17.33KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
Changes for version 0.003 - 2022-05-21
- Add 'shuffle' option.
- Add Array::Sample::WeightedRandom::Scan, although the current algorithm is biased.
Modules
Sample elements randomly, with weights (with or without replacement)(DO NOT USE) Sample elements randomly, with weights, without replacement (using scan algorithm)Module Install Instructions
To install Array::Sample::WeightedRandom, copy and paste the appropriate command in to your terminal.
cpanm Array::Sample::WeightedRandom
perl -MCPAN -e shell install Array::Sample::WeightedRandom
For more information on module installation, please visit the detailed CPAN module installation guide.