Algorithms that put a sequence into a random order or list every ordering of a set, such as the Fisher-Yates shuffle, Heap's algorithm and the Steinhaus-Johnson-Trotter algorithm. An algorithm belongs here when its cited article says it shuffles a sequence or generates permutations. It excludes algorithms that sort a sequence into order. A member is placed here by what its own cited article states about it, not by the name of the algorithm or by the uses it is put to today, so each entry sits in the group its source describes it as belonging to.
All Shuffling and Permutation Generation Algorithms
Filter Results4 entries
Sources
Fisher-Yates shuffle (Wikipedia)
Has Member: Fisher-Yates Shuffle, Lead sectionQuote, Has Member: Fisher-Yates Shuffle, Lead section
is an algorithm for shuffling a finite sequence
View the Source Wikipedia: Rao-Sandelius shuffle
Has Member: Rao-Sandelius Shuffle, Lead sectionQuote, Has Member: Rao-Sandelius Shuffle, Lead section
divide-and-conquer algorithm for shuffling a finite sequence
View the Source Heap's Algorithm (Wikipedia)
Has Member: Heap's Algorithm, Lead sectionQuote, Has Member: Heap's Algorithm, Lead section
generates all possible permutations of n objects
View the Source Steinhaus-Johnson-Trotter algorithm (Wikipedia)
Has Member: Steinhaus-Johnson-Trotter Algorithm, Lead sectionQuote, Has Member: Steinhaus-Johnson-Trotter Algorithm, Lead section
Each two adjacent permutations in the resulting sequence differ by swapping two adjacent permuted elements.
View the Source Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.
Sign in to dispute this or suggest a correction.