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

Public Member Functions

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 7 of file Sampler.java.

Member Function Documentation

◆ getNumSamples()

int umontreal.ssj.mcqmctools.anova.Sampler.getNumSamples ( )

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

Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, umontreal.ssj.mcqmctools.anova.QMCSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.

◆ getNumSimulationsPerSample()

int umontreal.ssj.mcqmctools.anova.Sampler.getNumSimulationsPerSample ( )

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

Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, umontreal.ssj.mcqmctools.anova.QMCSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.

◆ simulateRuns() [1/2]

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

Simulates the model multiple times.

The samples are added to the observation collector collector.

Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, umontreal.ssj.mcqmctools.anova.QMCSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.

◆ simulateRuns() [2/2]

void umontreal.ssj.mcqmctools.anova.Sampler.simulateRuns ( MonteCarloModelDouble model,
Tally collector )

Simulates the model multiple times.

The samples are added to the collector collector.

Implemented in umontreal.ssj.mcqmctools.anova.MonteCarloSampler, umontreal.ssj.mcqmctools.anova.QMCSampler, and umontreal.ssj.mcqmctools.anova.RQMCSampler.


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