Public Member Functions | |
| void | setStream (RandomStream stream) |
Use stream as the source of randomness. | |
| RandomStream | getStream () |
| Returns the currently used random stream. | |
| Public Member Functions inherited from umontreal.ssj.mcqmctools.anova.Sampler | |
| int | getNumSimulationsPerSample () |
| Returns the number of times the model is simulated each time a sample is produced. | |
| int | getNumSamples () |
| Returns the number of samples produced each time the simulateRuns() method is called. | |
| public< E > void | simulateRuns (MonteCarloModel<? extends E > model, ObservationCollector< E > collector) |
| Simulates the model multiple times. | |
| void | simulateRuns (MonteCarloModelDouble model, Tally collector) |
| Simulates the model multiple times. | |
Definition at line 5 of file RandomSampler.java.
| RandomStream umontreal.ssj.mcqmctools.anova.RandomSampler.getStream | ( | ) |
Returns the currently used random stream.
May be null.
Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.
| void umontreal.ssj.mcqmctools.anova.RandomSampler.setStream | ( | RandomStream | stream | ) |
Use stream as the source of randomness.
Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.