SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.mcqmctools.anova.RQMCSampler Class Reference

QMC sampler. More...

Inheritance diagram for umontreal.ssj.mcqmctools.anova.RQMCSampler:
umontreal.ssj.mcqmctools.anova.RandomSampler umontreal.ssj.mcqmctools.anova.Sampler

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)

Detailed Description

QMC sampler.

The samples produced by this sampler are deterministic.

Definition at line 14 of file RQMCSampler.java.

Member Function Documentation

◆ getNumSamples()

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.

◆ getNumSimulationsPerSample()

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.

◆ getRQMCPointSet()

RQMCPointSet umontreal.ssj.mcqmctools.anova.RQMCSampler.getRQMCPointSet ( )

Returns the internal RQMC point set.

Definition at line 31 of file RQMCSampler.java.

◆ getStream()

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.

◆ randomize()

void umontreal.ssj.mcqmctools.anova.RQMCSampler.randomize ( )
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.

◆ setStream()

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.

◆ simulateRuns() [1/2]

public< E > void umontreal.ssj.mcqmctools.anova.RQMCSampler.simulateRuns ( MonteCarloModel<? extends E > model,
ObservationCollector< E > collector )
package

Implements umontreal.ssj.mcqmctools.anova.Sampler.

Definition at line 59 of file RQMCSampler.java.

◆ simulateRuns() [2/2]

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.


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