| CPAN Ratings Reviews by Alessandro Gorohovski | |
| Home | Search | About | Bitcard Account | Login |
Algorithm::Combinatorics has good documentation and a very good interface. It's intuitive to use.
It would be good to refine optional parameters $min:
subsets(\@data[, $max, $min])
optional parameters:
$max ($k) --- the iteration runs over subsets of data of size $max ($k)
$min --- the bottom limit.
For example:
subsets( [A, B, C, D], 4, 2)
Output:
A B C D
A B C
A B D
A C D
B C D
A B
A C
A D
B C
B D
C D
Many thanks for the module.
Alessandro Gorohovski - 2011-06-18T07:20:13
|
Perl.org sites
: bugs
| dev
| history
| jobs
| learn
| lists
| use
Site Information and Contacts |
|