Knuth Methods |
The Knuth type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | MainTest |
Reads in a sequence of strings from standard input, shuffles
them, and prints out the results. |
![]() ![]() | Shuffle |
Rearranges an array of objects in uniformly random order
(under the assumption that Math.random() generates independent
and uniformly distributed numbers between 0 and 1). |