JavaPermutationTools (JPT): A Java API for computation on permutations and sequences
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).