SSJ
3.3.1
Stochastic Simulation in Java
|
Public Member Functions | |
void | setStream (RandomStream stream) |
Use stream as the source of randomness. | |
RandomStream | getStream () |
Returns the currently used random stream. More... | |
Public Member Functions inherited from 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. More... | |
void | simulateRuns (MonteCarloModelDouble model, Tally collector) |
Simulates the model multiple times. More... | |
RandomStream getStream | ( | ) |
Returns the currently used random stream.
May be null
.
Implemented in RQMCSampler, and MonteCarloSampler.