Thanks,
Rex Liquigan
r...@tamu.edu
>Hi. Can anyone suggest an efficient algorithm to enumerate all k-tuples
>(order not important) from a set of N elements? I'd appreciate any help.
I have C code on my snippets page for generating all k-combinations (the
usual term) of 1 through n in Lexicographic, minimal exchange, colex, and
alternating lexicographic order. The URL is
http://remus.rutgers.edu/~rhoads/Code/code.html
--
Glenn C. Rhoads http://eden.rutgers.edu/~rhoads/
Rutgers University Phone: (908) 445-4634 ext.25
Dept. of Computer Science email: rho...@paul.rutgers.edu
Piscataway, NJ