Package jline.api.mc
Class Ctmc_cosimla
java.lang.Object
jline.api.mc.Ctmc_cosimla
-
Method Summary
Modifier and TypeMethodDescriptionstatic Cosimla.Resultctmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward) ctmc_cosimla(double[][], int[], Cosimla.Transition, Cosimla.Reward, Cosimla.Options)with the default options.static Cosimla.Resultctmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward, Cosimla.Options options) Stationary expectation of a continuous-time Markov chain with a large or infinite state space by COSIMLA (COmbined SIMulation and Linear Algebra) with a general finite regeneration set (Glynn and Zheng, WSC 2023).
-
Method Details
-
ctmc_cosimla
public static Cosimla.Result ctmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward, Cosimla.Options options) Stationary expectation of a continuous-time Markov chain with a large or infinite state space by COSIMLA (COmbined SIMulation and Linear Algebra) with a general finite regeneration set (Glynn and Zheng, WSC 2023). Linear algebra is applied on the finite center set A, and simulated excursions from the boundary of A back to the regeneration set K account for the states outside A. CTMC: analysed through its embedded jump chain with reward r/q and holding weight 1/q, q the total outgoing rate. Result.alphaTrunc is the expectation under the generator truncated to A (arcs leaving A dropped), as SolverCTMC computes under a cutoff. Twin of the MATLAB ctmc_cosimla and of the Python api.mc.ctmc_cosimla; with the same seed the sample paths, and so the results, coincide.- Parameters:
A- center set, one state per rowK- 0-based row indices of A forming the regeneration settrans- one-step transition function returning successors and their transition rates (a successor equal to x is ignored); it must accept any reachable statereward- reward function returning one or more rewards per stateoptions- nsamples, seed, maxsteps, conflevel (null for defaults)- Returns:
- estimate, confidence interval and diagnostics
-
ctmc_cosimla
public static Cosimla.Result ctmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward) ctmc_cosimla(double[][], int[], Cosimla.Transition, Cosimla.Reward, Cosimla.Options)with the default options.
-