SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
MonteCarloModel.java
1package umontreal.ssj.mcqmctools;
2
3import umontreal.ssj.rng.*;
4
11
12public interface MonteCarloModel<E> {
13
14 // Optional
15 // public void simulate ();
16
20 public void simulate(RandomStream stream);
21
25 public E getPerformance();
26
30 public String toString();
31
35 public String getTag();
36
37}
An interface for a simple simulation model for which Monte Carlo (MC) or RQMC experiments are to be p...
void simulate(RandomStream stream)
Simulates the model for one run, using the given stream.
String getTag()
Returns a short model name (usually a single word) to be used in reports.
String toString()
Returns a description of the model and its parameters.
E getPerformance()
Recovers and returns the realization of the performance measure, of type E.
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...