Package libai.common

Class Shuffler

  • public class Shuffler
    extends java.lang.Object
    Created by kronenthaler on 19/03/2017.
    • Field Summary

      Modifier and Type Field Description
      protected int[] order  
      protected java.util.Random random  
    • Constructor Summary

      Constructor Description
      Shuffler​(int length)  
      Shuffler​(int length, java.util.Random random)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int[] shuffle()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • order

        protected int[] order
      • random

        protected java.util.Random random
    • Constructor Detail

      • Shuffler

        public Shuffler​(int length)
      • Shuffler

        public Shuffler​(int length,
                        java.util.Random random)
    • Method Detail

      • shuffle

        public int[] shuffle()