Package jline.api.mam
Class Map_gammaKt
-
- All Implemented Interfaces:
public final class Map_gammaKt
-
-
Method Summary
-
-
Method Detail
-
map_gamma
final static Double map_gamma(Matrix D0, Matrix D1)
Computes the gamma parameter for a MAP, which is the autocorrelation decay rate.
For MAPs of order 1 (Poisson process), gamma is 0. For MAPs of order 2, gamma is the ratio of ACF at lag 2 to ACF at lag 1. For higher-order MAPs, this implementation uses a simplified approximation.
- Parameters:
D0
- the hidden transition matrix of the MAPD1
- the visible transition matrix of the MAP- Returns:
the gamma parameter (autocorrelation decay rate)
-
map_gamma
final static Double map_gamma(MatrixCell MAP)
Computes the gamma parameter for a MAP using a MatrixCell.
This method is a convenience overload that extracts the D0 and D1 matrices from the provided MatrixCell and calculates the gamma parameter.
- Parameters:
MAP
- the MatrixCell representing the MAP, containing the D0 and D1 matrices- Returns:
the gamma parameter
-
-
-
-