Package jline.api.mc
Class Cosimla
java.lang.Object
jline.api.mc.Cosimla
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classOptions; every field has the MATLAB default.static final classEstimate, confidence interval and diagnostics.static interfaceReward function returning one or more rewards per state.static final classSuccessor states and their weights (probabilities for a DTMC, rates for a CTMC).static interfaceOne-step transition function; it must accept any state the chain can reach. -
Method Summary