Package jline.api.mc

Class Cosimla

java.lang.Object
jline.api.mc.Cosimla

public final class Cosimla extends Object
Types and engine of Ctmc_cosimla and Dtmc_cosimla.

A DTMC is analysed directly. A CTMC is analysed through its embedded jump chain: with q(x) the total outgoing rate, the stationary expectation is E[sum r(X_j)/q(X_j)] / E[sum 1/q(X_j)] over one regenerative cycle, so the paper's estimator (1) applies with the reward r/q and the holding weight 1/q in place of the constant e.

The simulation draws from MT19937 seeded with options.seed through genrand_res53, the stream of MATLAB's RandStream('mt19937ar'), so with the same transition function the sample paths are the MATLAB ones draw for draw.