T - the context typepublic abstract class ContextRNG<T> extends Object implements RandomNumberGenerator
| Constructor and Description |
|---|
ContextRNG() |
| Modifier and Type | Method and Description |
|---|---|
protected RandomNumberGenerator |
getRNG(T context) |
double |
nextDouble()
Get the next random
double. |
void |
removeContext() |
void |
seed(long... seeds)
Seed the random number/vector/scenario generator to produce repeatable experiments.
|
protected RandomNumberGenerator getRNG(T context)
public void removeContext()
public double nextDouble()
RandomNumberGeneratordouble.nextDouble in interface RandomNumberGeneratorCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.