SSJ
3.3.1
Stochastic Simulation in Java
|
QMC sampler. More...
Public Member Functions | |
RQMCSampler (RQMCPointSet points, RandomStream stream) | |
RQMCSampler (RQMCPointSet points) | |
RQMCPointSet | getRQMCPointSet () |
Returns the internal RQMC point set. | |
RandomStream | getStream () |
Returns the currently used random stream. More... | |
void | setStream (RandomStream stream) |
Use stream as the source of randomness. More... | |
int | getNumSimulationsPerSample () |
Returns the number of times the model is simulated each time a sample is produced. More... | |
int | getNumSamples () |
Returns the number of samples produced each time the simulateRuns() method is called. More... | |
void | simulateRuns (MonteCarloModelDouble model, Tally collector) |
More... | |
String | toString () |
Protected Member Functions | |
void | randomize () |
Randomizes the integrator by randomizing the internal point set. More... | |
Protected Attributes | |
RQMCPointSet | points |
Package Functions | |
public< E > void | simulateRuns (MonteCarloModel<? extends E > model, ObservationCollector< E > collector) |
More... | |
QMC sampler.
The samples produced by this sampler are deterministic.
int getNumSamples | ( | ) |
Returns the number of samples produced each time the simulateRuns() method is called.
Implements Sampler.
int getNumSimulationsPerSample | ( | ) |
Returns the number of times the model is simulated each time a sample is produced.
Implements Sampler.
RandomStream getStream | ( | ) |
|
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.
void setStream | ( | RandomStream | stream | ) |
Use stream
as the source of randomness.
Implements RandomSampler.
|
package |
Implements Sampler.
void simulateRuns | ( | MonteCarloModelDouble | model, |
Tally | collector | ||
) |
Implements Sampler.