[Pharo-project] permutations / combinations implementation

Tudor Girba tudor.girba at gmail.com
Mon Nov 15 18:46:39 CET 2010


Hi,

On 15 Nov 2010, at 15:59, Ralph Boland wrote:

> In Squeak  SequenceableCollection>>permutationsDo:  will apply a block
> to each permutation
> of a collection.  I assume it is also in Pharo.

Stupid me. I did not find it on first search :).

> I have a package CombinatorialGeneration that implements a number of
> combinatorial
> generation algorithms.  I use it for generating large numbers of test
> cases.  It's about
> a man month of work from being ready to release.  Then, based on
> feedback, I will
> likely have more work to do before it is production ready.  It uses
> some code that as
> far as I know is not supported in Pharo including the generators code
> added by Andreas
> (? Sorry I forget his last name but it is a short name).

Is this package available? I am mainly looking for simple mathematical combinations of a collections.

Cheers,
Doru


--
www.tudorgirba.com

"Live like you mean it."





More information about the Pharo-project mailing list