Algorithm 87: Permutation generator | Communications of the ACM | DeepDyve