SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
RandomSampler Interface Reference
Inheritance diagram for RandomSampler:
[legend]
Collaboration diagram for RandomSampler:
[legend]

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...
 

Member Function Documentation

◆ getStream()

RandomStream getStream ( )

Returns the currently used random stream.

May be null.

Implemented in RQMCSampler, and MonteCarloSampler.


The documentation for this interface was generated from the following file: