Package jline.api.mam
Class Map_embedded
java.lang.Object
jline.api.mam.Map_embedded
-
Method Summary
Modifier and TypeMethodDescriptionstatic Matrixmap_embedded(MatrixCell MAP) Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP given as a MatrixCell.static Matrixmap_embedded(Matrix D0, Matrix D1) Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP.
-
Method Details
-
map_embedded
Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP. This method calculates the embedded DTMC matrix by first inverting the negative of the D0 matrix and then multiplying it by the D1 matrix. The resulting matrix represents the probabilities of transitioning between states in the embedded chain.- Parameters:
D0- the hidden transition matrix of the MAPD1- the visible transition matrix of the MAP- Returns:
- the embedded DTMC matrix
-
map_embedded
Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP given as a MatrixCell. This method is a convenience overload that extracts the D0 and D1 matrices from the provided MatrixCell and calculates the embedded DTMC matrix.- Parameters:
MAP- the MatrixCell representing the MAP, containing the D0 and D1 matrices- Returns:
- the embedded DTMC matrix
-