Module org.cicirello.jpt
Package org.cicirello.permutations
Collection of classes related to representing and manipulating permutations.
-
Interface Summary Interface Description PermutationBinaryOperator A functional interface for defining custom binary operators on Permutations.PermutationUnaryOperator A functional interface for defining custom unary operators on Permutations. -
Class Summary Class Description Permutation Representation of a permutation of the integers from 0 to N-1, inclusive.Permutation.Mechanic Deprecated. This class will be removed in the next major release, 4.0.0, and you should instead use the functionality provided by thePermutation.apply(PermutationUnaryOperator)
andPermutation.apply(PermutationBinaryOperator,Permutation)
methods, and the relatedPermutationUnaryOperator
andPermutationBinaryOperator
interfaces.PermutationIterator Iterator over all permutations of a specified length, n, of the integers in the interval [0,n).