A simple permutation generator.
git clone https://github.com/eldrewolf/permute
cd permute
make
sudo make install
permute abc
<<output
abc
bac
cab
acb
bca
cba
output
permute -n2 abc
<<output
aa
ba
ca
ab
bb
cb
ac
bc
cc
output
- Implement k-permutaions
- Implement multiset permutations
Permute is free software. You are free to redistribute it and/or modify it under the terms of the GNU Lesser General Public License Version 3 (LGPLv3) as published by the Free Software Foundation See the LICENSE file for license rights and limitations (LGPLv3).