And Xavier Noria did write:

On Nov 17, 2005, at 22:45, David Landgren wrote:

People,

I have a simple module written and as far as I can tell, there's nothing on CPAN that does this. (Algorithm::Permute might, but it segfaults on my machine).


There are some modules dealing with this kind of stuff, with more generic interfaces. For instance Math::Combinatorics or Algorithm::Combinatorics.

I've had a long look at Math::Combinatorics, and while it could be used to generate a power set, it would take a certain amount of make-work code. Plus, the documentation is awful, and there are no examples to try out.

Regarding the generic interfaces, by a funny coincidence I had coded up the same set of interfaces myself, plus a bit more. So the useability should be acceptable.

Thanks,
David

Reply via email to