Sampler constructor

Sampler(
  1. SamplerConfig cfg, {
  2. int seed = 1337,
})

Implementation

Sampler(this.cfg, {int seed = 1337}) : _rng = math.Random(seed);