SSJ
3.3.1
Stochastic Simulation in Java
|
An interface for a simple simulation model for which Monte Carlo (MC) or RQMC experiments are to be performed. More...
Public Member Functions | |
int | getDimension () |
Returns the number of uniforms required to simulate this model. | |
Public Member Functions inherited from MonteCarloModelDouble | |
void | simulate (RandomStream stream) |
Simulates the model for one run. | |
double | getPerformance () |
Recovers and returns the realization of the performance measure, of type double . | |
String | toString () |
Returns a short description of the model and its parameters. | |
An interface for a simple simulation model for which Monte Carlo (MC) or RQMC experiments are to be performed.
It generalizes MonteCarloModelDouble. This interface allows the output (performance) from the model to be of arbitrary type E. It could be a scalar, an array, etc.