SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.mcqmctools.anova.RandomSampler Interface Reference
Inheritance diagram for umontreal.ssj.mcqmctools.anova.RandomSampler:
umontreal.ssj.mcqmctools.anova.Sampler umontreal.ssj.mcqmctools.anova.MonteCarloSampler umontreal.ssj.mcqmctools.anova.RQMCSampler umontreal.ssj.mcqmctools.anova.MonteCarloIntegrator

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.

Detailed Description

Definition at line 5 of file RandomSampler.java.

Member Function Documentation

◆ getStream()

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.

◆ setStream()

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.


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