An interface for a simulation model for which Monte Carlo (MC) and RQMC experiments are to be performed. More...
Public Member Functions | |
| double | density (double x) |
| Recovers the density of X evaluated at x. | |
| double | cdf (double x) |
| Recovers the cumulative density function (cdf) of \(X\) evaluated at \(x\). | |
| Public Member Functions inherited from umontreal.ssj.mcqmctools.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 description of the model and its parameters. | |
| String | getTag () |
| Returns a short model name (tag) to be used in reports. | |
An interface for a simulation model for which Monte Carlo (MC) and RQMC experiments are to be performed.
This interface is used by the classes MCExperimentDensity and RQMCExperimentDensity, among others, to run the model. The interface assumes that the output from the model is a random variable X with known density and pdf (for the purpose of the experiment).
Definition at line 11 of file MonteCarloModelDensityKnown.java.
| double umontreal.ssj.mcqmctools.MonteCarloModelDensityKnown.cdf | ( | double | x | ) |
Recovers the cumulative density function (cdf) of \(X\) evaluated at \(x\).
| x | the point at which the cdf shall be evaluated. |
| double umontreal.ssj.mcqmctools.MonteCarloModelDensityKnown.density | ( | double | x | ) |
Recovers the density of X evaluated at x.
| x | the point at which the density is evaluated. |