Package jline.api.mam

Class Map_varKt

  • All Implemented Interfaces:

    
    public final class Map_varKt
    
                        
    • 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_var(Matrix D0, Matrix D1) Computes the variance of the inter-arrival times for a MAP.
      final static Double map_var(MatrixCell MAP) Computes the variance of the inter-arrival times 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_var

         final static Double map_var(Matrix D0, Matrix D1)

        Computes the variance of the inter-arrival times for a MAP.

        The variance is calculated as the difference between the second moment and the square of the mean inter-arrival time.

        Parameters:
        D0 - the hidden transition matrix of the MAP
        D1 - the visible transition matrix of the MAP
        Returns:

        the variance of the inter-arrival times

      • map_var

         final static Double map_var(MatrixCell MAP)

        Computes the variance of the inter-arrival times 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 variance of the inter-arrival times.

        Parameters:
        MAP - the MatrixCell representing the MAP, containing the D0 and D1 matrices
        Returns:

        the variance of the inter-arrival times