public class BurnInRNG extends Object implements RandomNumberGenerator
| Constructor and Description |
|---|
BurnInRNG(RandomNumberGenerator rvg,
int burnInSamples)
Construct a burn-in RNG.
|
| Modifier and Type | Method and Description |
|---|---|
double |
nextDouble()
Get the next random
double. |
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
public BurnInRNG(RandomNumberGenerator rvg, int burnInSamples)
rvg - an underlying RNGburnInSamples - the number of initial samples to be discardedpublic double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.