This project has moved. For the latest updates, please go here.

Get all combinations

Jun 24, 2011 at 8:00 PM


Is it possible to get all the combinations of a given list with this library?

ie: list: a, b, c, d

-> all combinations of size 2: ab,ac,ad,bc,bd,cd

I was looking into the RandomCombinations to do this (hoping it would give each possiblity, but randomly), but it is in fact completely random as in, the same combination can returns after the second call.

Best regards,


Jun 24, 2011 at 8:12 PM

Hi Ike,

No this is not possible with this library. -Jurgen