JavaPermutationTools (JPT): A Java library for computation on permutations and sequences
The JavaPermutationTools (JPT) library 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: RandomVariates class with methods to generate random values from various distributions including the Cauchy distribution and binomial distribution. Copyable interface also new. Also now includes the permutation distance called Block Interchange Distance.