Skip to content

shiftinterrupt/permute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Permute

A simple permutation generator.

Installation

git clone https://github.com/eldrewolf/permute
cd permute
make
sudo make install

Usage

Standard Permutations

permute abc

<<output
abc
bac
cab
acb
bca
cba
output

Permutations with repetition

permute -n2 abc

<<output
aa
ba
ca
ab
bb
cb
ac
bc
cc
output

Todo

  1. Implement k-permutaions
  2. Implement multiset permutations

License

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).

About

A simple permutation generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published