Random permutations Generate m permutations of N objects. The permutations are obtained using the Fisher–Yates shuffle.