/// <summary> /// Creates a new instance of <see cref="Xoshiro512StarStarRandom"/>. /// </summary> /// <returns>A new instance of <see cref="Xoshiro512StarStarRandom"/>.</returns> public IRandomSource Create() { ulong seed = _seedSource.GetSeed(); return(new Xoshiro512StarStarRandom(seed)); }
/// <summary> /// Get a new seed value. /// </summary> public static ulong GetSeed() { return(DefaultRandomSeedSource.GetSeed()); }
/// <summary> /// Creates a new instance of <see cref="Xoshiro256PlusRandom"/>. /// </summary> /// <returns>A new instance of <see cref="Xoshiro256PlusRandom"/>.</returns> public IRandomSource Create() { ulong seed = _seedSource.GetSeed(); return(new Xoshiro256PlusRandom(seed)); }
/// <summary> /// Create a new instance of XorShiftRandom. /// </summary> public IRandomSource Create() { ulong seed = _seedSource.GetSeed(); return(new XorShiftRandom(seed)); }