Class ThinRNG

    • Constructor Detail

      • ThinRNG

        public ThinRNG​(RandomNumberGenerator rng,
                       int m)
        Constructs a thinned RNG.
        Parameters:
        rng - an underlying RNG
        m - the number of items to draw from the underlying RNG for each draw
    • Method Detail

      • seed

        public void seed​(long... seeds)
        Description copied from interface: Seedable
        Seed the random number/vector/scenario generator to produce repeatable experiments.
        Specified by:
        seed in interface Seedable
        Parameters:
        seeds - the seeds