blob: 6c1d61f8d17c3a315c5fc83d7208e09dfced10d5 (
plain) (
blame)
1
2
3
4
|
Efficient loopless multiset combination generation algorithm which is
(approximately) described in "Loopless algorithms for generating permutations,
combinations, and other combinatorial configurations." G Ehrlich - Journal of
the ACM (JACM), 1973. (Algorithm 7.)
|