public interface PermutationFunction<T extends Vector>
TernaryVector
s. Implementations are expected to be thread safe when
performing permutations.T permute(T v, int numPermutations)
TernaryVector
the specified number of
times.v
- an index vector to permutenumPermutations
- the number of times the permutation function
should be applied to the provided index vector.Copyright © 2012. All Rights Reserved.