Searching map area
Heap's algorithm
? TBD
Method of generating all permutations of n objects
Ratings
0
Nobody has rated this yet. Be the first!
Lists
0

Heap's algorithm generates all possible permutations of n objects. It was first proposed by B. R. Heap in 1963. The algorithm minimizes movement: it generates each permutation from the previous one by interchanging a single pair of elements; the other n−2 elements are not disturbed. In a 1977 review of permutation-generating algorithms, Robert...