Skip to content

JavaPermutationTools (JPT): A Java API for computation on permutations and sequences

Compare
Choose a tag to compare
@cicirello cicirello released this 31 May 17:32
· 1353 commits to master since this release

The JavaPermutationTools (JPT) API provides Java classes that enable representing and generating permutations and sequences, as well as performing computation on permutations and sequences. It includes implementations of a variety of permutation distance metrics as well as distance metrics on sequences (i.e., Strings, arrays, and other ordered data types).

New in this release: RandomIndexer class which can be used to efficiently generate random indexes and combination of indexes into arrays and permutations. Library has been optimized for more efficient random number generation (e.g., generating random permutations more efficiently).