Well, I have a question about what algorithm would be most appropriate for my problem. Let's say that I have 3 groups:
Group A) 1 2 3 Group B) 5 4 Group C) 9 6 7 8
Now I would like to get all possible groups with this members (1-8) and groups with capacity 3, 2, 4.
Note:
Group A) 3 1 2 Group B) 5 4 Group C) 7 8 9 6
counts as same group combination as above combination.
I tried with all possible combinations of this numbers (1-8) but knowing that I might have a groups with total of 30 members I would came up with 265252859812191058636308480000000 different combinations, but that is to many.
I tried to search for non-isomorphics grups, but had no luck.