Package jline.api.mc
Class Dtmc_cosimla
java.lang.Object
jline.api.mc.Dtmc_cosimla
-
Method Summary
Modifier and TypeMethodDescriptionstatic Cosimla.Resultdtmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward) dtmc_cosimla(double[][], int[], Cosimla.Transition, Cosimla.Reward, Cosimla.Options)with the default options.static Cosimla.Resultdtmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward, Cosimla.Options options) Stationary expectation of a discrete-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
-
dtmc_cosimla
public static Cosimla.Result dtmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward, Cosimla.Options options) Stationary expectation of a discrete-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. DTMC: the paper's estimator (1) is applied directly. Twin of the MATLAB dtmc_cosimla and of the Python api.mc.dtmc_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 probabilities (summing to 1); 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
-
dtmc_cosimla
public static Cosimla.Result dtmc_cosimla(double[][] A, int[] K, Cosimla.Transition trans, Cosimla.Reward reward) dtmc_cosimla(double[][], int[], Cosimla.Transition, Cosimla.Reward, Cosimla.Options)with the default options.
-