Exemple #1
0
        /**
         *  @brief Generates a new instance based on a given seed.
         **/
        public static TSRandom New(int seed)
        {
            TSRandom r = new TSRandom(seed);

//             StateTracker.AddTracking(r, "mt");
//             StateTracker.AddTracking(r, "mti");

            return(r);
        }
Exemple #2
0
 internal static void Init()
 {
     instance = New(1);
 }