QMC sampler. More...
Public Member Functions | |
| RQMCPointSet | getRQMCPointSet () |
| Returns the internal RQMC point set. | |
| RandomStream | getStream () |
| Returns the currently used random stream. | |
| void | setStream (RandomStream stream) |
Use stream as the source of randomness. | |
| 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. | |
| void | simulateRuns (MonteCarloModelDouble model, Tally collector) |
Protected Member Functions | |
| void | randomize () |
| Randomizes the integrator by randomizing the internal point set. | |
Package Functions | |
| public< E > void | simulateRuns (MonteCarloModel<? extends E > model, ObservationCollector< E > collector) |
QMC sampler.
The samples produced by this sampler are deterministic.
Definition at line 14 of file RQMCSampler.java.
| int umontreal.ssj.mcqmctools.anova.RQMCSampler.getNumSamples | ( | ) |
Returns the number of samples produced each time the simulateRuns() method is called.
Implements umontreal.ssj.mcqmctools.anova.Sampler.
Definition at line 51 of file RQMCSampler.java.
| int umontreal.ssj.mcqmctools.anova.RQMCSampler.getNumSimulationsPerSample | ( | ) |
Returns the number of times the model is simulated each time a sample is produced.
Implements umontreal.ssj.mcqmctools.anova.Sampler.
Definition at line 46 of file RQMCSampler.java.
| RQMCPointSet umontreal.ssj.mcqmctools.anova.RQMCSampler.getRQMCPointSet | ( | ) |
Returns the internal RQMC point set.
Definition at line 31 of file RQMCSampler.java.
| RandomStream umontreal.ssj.mcqmctools.anova.RQMCSampler.getStream | ( | ) |
Returns the currently used random stream.
May be null.
Implements umontreal.ssj.mcqmctools.anova.RandomSampler.
Definition at line 36 of file RQMCSampler.java.
|
protected |
Randomizes the integrator by randomizing the internal point set.
If the randomization stream is a PointSetIterator, advance to the next point in the stream.
Definition at line 93 of file RQMCSampler.java.
| void umontreal.ssj.mcqmctools.anova.RQMCSampler.setStream | ( | RandomStream | stream | ) |
Use stream as the source of randomness.
Implements umontreal.ssj.mcqmctools.anova.RandomSampler.
Definition at line 41 of file RQMCSampler.java.
|
package |
Implements umontreal.ssj.mcqmctools.anova.Sampler.
Definition at line 59 of file RQMCSampler.java.
| void umontreal.ssj.mcqmctools.anova.RQMCSampler.simulateRuns | ( | MonteCarloModelDouble | model, |
| Tally | collector ) |
Implements umontreal.ssj.mcqmctools.anova.Sampler.
Definition at line 71 of file RQMCSampler.java.