blob: 65b06567fcbab7ecfa78abf0e8ab080069e1bca7 (
plain) (
tree)
|
|
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.)
WWW: https://github.com/ekg/multichoose
|