SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | Protected Member Functions | Protected Attributes | Package Functions | List of all members
RQMCSampler Class Reference

QMC sampler. More...

Inheritance diagram for RQMCSampler:
[legend]
Collaboration diagram for RQMCSampler:
[legend]

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

Detailed Description

QMC sampler.

The samples produced by this sampler are deterministic.

Member Function Documentation

◆ getNumSamples()

int getNumSamples ( )

Returns the number of samples produced each time the simulateRuns() method is called.

Implements Sampler.

◆ getNumSimulationsPerSample()

int getNumSimulationsPerSample ( )

Returns the number of times the model is simulated each time a sample is produced.

Implements Sampler.

◆ getStream()

RandomStream getStream ( )

Returns the currently used random stream.

May be null.

Implements RandomSampler.

◆ randomize()

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

◆ setStream()

void setStream ( RandomStream  stream)

Use stream as the source of randomness.

Implements RandomSampler.

◆ simulateRuns() [1/2]

public<E> void simulateRuns ( MonteCarloModel<? extends E >  model,
ObservationCollector< E >  collector 
)
package


Implements Sampler.

◆ simulateRuns() [2/2]

void simulateRuns ( MonteCarloModelDouble  model,
Tally  collector 
)


Implements Sampler.


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