/// <summary>
 /// Construct with a default seed source.
 /// </summary>
 public Xoshiro512StarStarRandomFactory()
 {
     _seedSource = new DefaultRandomSeedSource();
 }
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 /// <param name="seedSource">Random seed source.</param>
 public Xoshiro512StarStarRandomFactory(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }
Example #3
0
 /// <summary>
 /// Construct with a default seed source.
 /// </summary>
 public Xoshiro256PlusRandomFactory()
 {
     _seedSource = new DefaultRandomSeedSource();
 }
Example #4
0
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 /// <param name="seedSource">Random seed source.</param>
 public Xoshiro256PlusRandomFactory(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }
Example #5
0
 /// <summary>
 /// Construct with a default seed source.
 /// </summary>
 public Xoshiro256StarStarRandomBuilder()
 {
     _seedSource = new DefaultRandomSeedSource();
 }
Example #6
0
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 public Xoshiro256StarStarRandomBuilder(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }
Example #7
0
 static RandomDefaults()
 {
     DefaultRandomSeedSource    = new DefaultRandomSeedSource();
     DefaultRandomSourceFactory = new Xoshiro256StarStarRandomFactory(DefaultRandomSeedSource);
 }
Example #8
0
 static RandomDefaults()
 {
     DefaultRandomSeedSource    = new DefaultRandomSeedSource();
     DefaultRandomSourceBuilder = new Xoshiro256StarStarRandomBuilder(DefaultRandomSeedSource);
 }
Example #9
0
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 public XorShiftRandomFactory(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }
Example #10
0
 /// <summary>
 /// Construct with a default seed source.
 /// </summary>
 public XorShiftRandomFactory()
 {
     _seedSource = new DefaultRandomSeedSource();
 }
Example #11
0
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 public XorShiftRandomBuilder(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }
Example #12
0
 /// <summary>
 /// Construct with a default seed source.
 /// </summary>
 public XorShiftRandomBuilder()
 {
     _seedSource = new DefaultRandomSeedSource();
 }
Example #13
0
 /// <summary>
 /// Construct with the given seed source.
 /// </summary>
 public Xoshiro256PlusRandomBuilder(
     IRandomSeedSource seedSource)
 {
     _seedSource = seedSource;
 }