Looping all results of a CombinationSet, that's 2^7 or 128 in total. (Including an empty set at the beginning.) A "Combination" means that no element can be used twice and the order is ignored ( "a,b" equals "b,a" and is counted only once ). given 3 elements, [a, b, c], you'll get from the CombinationSet: [], [a], [b], [c], [a, b], [a, c], [b, c], [a, b, c] that is 2^3 = 2*2*2 = 8 results fjenett 20090305
Source code: combinationSets_3
Built with Processing