Package jline.api.mc
Class Dtmc_stochcomp
java.lang.Object
jline.api.mc.Dtmc_stochcomp
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classStochastic complement together with the blocks it was built from. -
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixdtmc_stochcomp(Matrix P, List<Integer> I) Returns the stochastic complement of a DTMC.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.
-
Method Details
-
dtmc_stochcomp
Returns the stochastic complement of a DTMC.- Parameters:
P- Transition matrix of the DTMCI- 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
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 DTMCI- Indexes of states to be kept in the stochastic complement- Returns:
- the complement and the blocks it was built from
-