Package jline.api.mam

Class Map_gammaKt

  • All Implemented Interfaces:

    
    public final class Map_gammaKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Double map_gamma(Matrix D0, Matrix D1) Computes the gamma parameter for a MAP, which is the autocorrelation decay rate.
      final static Double map_gamma(MatrixCell MAP) Computes the gamma parameter for a MAP using a MatrixCell.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 MAP
        D1 - 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