Package jline.api.mam
Class Map_embeddedKt
-
- All Implemented Interfaces:
public final class Map_embeddedKt
-
-
Method Summary
Modifier and Type Method Description final static Matrix
map_embedded(Matrix D0, Matrix D1)
Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP. final static Matrix
map_embedded(MatrixCell MAP)
Computes the embedded discrete-time Markov chain (DTMC) matrix of a MAP given as a MatrixCell. -
-
Method Detail
-
map_embedded
final static Matrix map_embedded(Matrix D0, Matrix D1)
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
final static Matrix map_embedded(MatrixCell MAP)
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
-
-
-
-