[Newbies] Permutations and Combinations

Paul DeBruicker pdebruic at gmail.com
Fri Mar 12 14:27:03 UTC 2010


Hi --

Is there a standard Smalltalk way to enumerate the possible permutations
and combinations of a collection of collections?  I'm not having any
luck googling for an example or mention of a class or package to use.
I'm trying to minimize a non linear cost function and want to calculate
the set of costs.  The collection of collections can have any number
greater than two collections in it and those collections are of varying
size.  

Thanks

Paul 


More information about the Beginners mailing list