CPAN Ratings: Algorithm-Combinatorics reviews
http://cpanratings.perl.org/dist/Algorithm-Combinatorics
CPAN Ratings: Algorithm-Combinatorics reviewsen-us2000-08-23T07:00+00:00ask@perl.orgask@perl.orgPerl1901-01-01T00:00+00:001dailyGene Boggs
http://cpanratings.perl.org/dist/Algorithm-Combinatorics#11348
<p>Rating: 5 stars</p><p>This module has simplified my experiments with computational music. It provides a useful array of things that I was either computing by hand or using other modules to partially, fill-in the gaps with.
<br><br>It works without any fuss, and the documentation is clean simple.</p>Gene Boggs2013-10-16T03:15:59Alessandro Gorohovski
http://cpanratings.perl.org/dist/Algorithm-Combinatorics#8664
<p>Rating: 5 stars</p><p>Algorithm::Combinatorics has good documentation and a very good interface. It's intuitive to use.
<br><br>It would be good to refine optional parameters $min:
<br><br>subsets(\@data[, $max, $min])
<br><br>optional parameters:
<br>
$max ($k) --- the iteration runs over subsets of data of size $max ($k)
<br><br>$min --- the bottom limit.
<br><br>For example:
<br>
subsets( [A, B, C, D], 4, 2)
<br><br>Output:
<br>
A B C D
<br>
A B C
<br>
A B D
<br>
A C D
<br>
B C D
<br>
A B
<br>
A C
<br>
A D
<br>
B C
<br>
B D
<br>
C D
<br><br>Many thanks for the module.</p>Alessandro Gorohovski2011-06-18T07:20:13david landgren
http://cpanratings.perl.org/dist/Algorithm-Combinatorics#1881
<p>I believe it was MJD who said that he couldn't think of a good reason, outside of academic curiousity, why someone would need to generate all the permutations of a set. My need wasn't perhaps exactly real world, but I did need to generate permutations and combinations of lists to prepare data for a test suite.
<br><br>I found out about this module through fairly arduous process, mainly because searching "combination" or "combinations" on search.cpan.org has it lost somewhere beyond the fifth page of results. Perhaps adding "(permutations and combinations)" in the NAME would help raise its visibility. Yucky, but that's life with the search engines.
<br><br>Nonetheless, if you do manage to find this module, it is a joy to use. The documenation is clear and to the point. You have an immediate idea of what the different functions do. It offers both procedural and object-oriented interfaces. The object-oriented interface feels "Just Right". The heavy lifting is done in XS. The author has chosen efficient non-recursive, non-stack-based algorithms.
<br><br>My only quibble would be that the distribution lacks an ./eg directory. I like to have example scripts that exercise a distribution in different ways (and ways that perhaps you, as a user, would not think of). But the documentation is good enough that this is not strictly necessary.</p>david landgren2005-12-06T05:45:55