Package jline.api.mc

Class Dtmc_cosimla

java.lang.Object
jline.api.mc.Dtmc_cosimla

public final class Dtmc_cosimla extends Object
  • 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 row
      K - 0-based row indices of A forming the regeneration set
      trans - one-step transition function returning successors and their transition probabilities (summing to 1); it must accept any reachable state
      reward - reward function returning one or more rewards per state
      options - 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)