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

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. More...
 
void simulateRuns (MonteCarloModelDouble model, Tally collector)
 Simulates the model multiple times. More...
 

Member Function Documentation

◆ simulateRuns() [1/2]

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

Simulates the model multiple times.

The samples are added to the observation collector collector.

Implemented in MonteCarloSampler, RQMCSampler, and QMCSampler.

◆ simulateRuns() [2/2]

void simulateRuns ( MonteCarloModelDouble  model,
Tally  collector 
)

Simulates the model multiple times.

The samples are added to the collector collector.

Implemented in MonteCarloSampler, RQMCSampler, and QMCSampler.


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