Package algs11

Class MyShuffleTest

java.lang.Object
algs11.MyShuffleTest

public class MyShuffleTest extends Object
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
    • swap

      private static void swap(byte[] a, int i, int j)
    • shuffle

      private static void shuffle(byte[] a)
    • incrementCounts

      private static void incrementCounts(double[][] counts, byte[] a)
    • printCounts

      private static void printCounts(double[][] counts, int numTests)