public SeedRNG(int seed, int limit, bool b = false) { this.seed = seed; this.limit = limit; lcg = new LCG(limit, new Random(seed).Next(0, limit), seed); obtained = new List <int>(); r = new Random(seed); if (b) { exp = Enumerable.Range(0, limit).ToList(); } }
public SeedRNG(int seed, int limit, bool b = false) { this.seed = seed; this.limit = limit; lcg = new LCG(limit, new Random(seed).Next(0, limit),seed); obtained = new List<int>(); r = new Random(seed); if (b) { exp = Enumerable.Range(0, limit).ToList(); } }