Package jline.api.mam

Class Map2_fitKt

  • All Implemented Interfaces:

    
    public final class Map2_fitKt
    
                        
    • 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 Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3, Double g2) Fits a 2-phase Markovian Arrival Process (MAP2) to match the given moments and decay rate of the autocorrelation function.
      final static Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3) Fits a 2-phase Markovian Arrival Process (MAP2) using the first three moments.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • map2_fit

         final static Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3, Double g2)

        Fits a 2-phase Markovian Arrival Process (MAP2) to match the given moments and decay rate of the autocorrelation function.

        This method calculates the parameters for a 2-phase MAP based on the first three moments (e1, e2, e3) and the decay rate (g2) of the autocorrelation function.

        Parameters:
        e1 - the first moment (mean)
        e2 - the second moment
        e3 - the third moment
        g2 - the decay rate of the autocorrelation function
        Returns:

        a Map_fit_return_type object containing the fitted MAP transition matrices and additional fitting information

      • map2_fit

         final static Ret.mamMAPFitReturn map2_fit(Double e1, Double e2, Double e3)

        Fits a 2-phase Markovian Arrival Process (MAP2) using the first three moments.

        This method provides a simplified fitting interface when g2 is not available or specified. It uses a default or inferred value for g2 based on the provided moments.

        Parameters:
        e1 - the first moment (mean)
        e2 - the second moment
        e3 - the third moment
        Returns:

        a mapFitReturn object containing the fitted MAP transition matrices and additional fitting information