Package jline.api.mc

Class Dtmc_stochcomp

java.lang.Object
jline.api.mc.Dtmc_stochcomp

public final class Dtmc_stochcomp extends Object
  • Method Details

    • dtmc_stochcomp

      public static Matrix dtmc_stochcomp(Matrix P, List<Integer> I)
      Returns the stochastic complement of a DTMC.
      Parameters:
      P - Transition matrix of the DTMC
      I - Indexes of states to be kept in the stochastic complement
      Returns:
      Transition matrix of the stochastic complement
      Throws:
      RuntimeException - If the transition matrix is null
    • dtmc_stochcomp_full

      public static Dtmc_stochcomp.DtmcStochCompResult dtmc_stochcomp_full(Matrix P, List<Integer> I)
      Stochastic complement of a DTMC together with the four blocks of the transition matrix partitioned by the kept states and their complement. Twin of the MATLAB [S,P11,P12,P21,P22] = dtmc_stochcomp(P,I) and of the Python dtmc_stochcomp_full.
      Parameters:
      P - Transition matrix of the DTMC
      I - Indexes of states to be kept in the stochastic complement
      Returns:
      the complement and the blocks it was built from