Package algs11
Class MyShuffleTest
java.lang.Object
algs11.MyShuffleTest
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
incrementCounts
(double[][] counts, byte[] a) static void
private static void
printCounts
(double[][] counts, int numTests) private static void
shuffle
(byte[] a) private static void
swap
(byte[] a, int i, int j)
-
Constructor Details
-
MyShuffleTest
public MyShuffleTest()
-
-
Method Details
-
main
-
swap
-
shuffle
-
incrementCounts
-
printCounts
-