SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
umontreal.ssj.mcqmctools.MonteCarloModelCV Interface Reference

An extension of MonteCarloModelDouble that also implements a vector of control variates. More...

Inheritance diagram for umontreal.ssj.mcqmctools.MonteCarloModelCV:
umontreal.ssj.mcqmctools.MonteCarloModelDouble

Public Member Functions

double[] getValuesCV ()
 Recovers the realizations of the control variates for the last run.
int getNumberCV ()
 TO DO: Recovers the realizations of the control variates from the last run.
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.

Detailed Description

An extension of MonteCarloModelDouble that also implements a vector of control variates.

Definition at line 8 of file MonteCarloModelCV.java.

Member Function Documentation

◆ getNumberCV()

int umontreal.ssj.mcqmctools.MonteCarloModelCV.getNumberCV ( )

TO DO: Recovers the realizations of the control variates from the last run.

Returns the number of control variates.

◆ getValuesCV()

double[] umontreal.ssj.mcqmctools.MonteCarloModelCV.getValuesCV ( )

Recovers the realizations of the control variates for the last run.


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