Class BurnInRVG

All Implemented Interfaces:
RandomVectorGenerator, Seedable

public class BurnInRVG extends Object implements RandomVectorGenerator
A burn-in random number generator discards the first M samples. This reduces the effect of the initial sample on the outcome.
  • Constructor Details

    • BurnInRVG

      public BurnInRVG(RandomVectorGenerator rvg, int burnInSamples)
      Construct a burn-in RVG.
      rvg - an underlying RVG
      burnInSamples - the number of initial samples to be discarded
  • Method Details

    • nextVector

      public double[] nextVector()
      Description copied from interface: RandomVectorGenerator
      Gets the next random vector.
      Specified by:
      nextVector in interface RandomVectorGenerator
      the next random vector
    • 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
      seeds - the seeds