Package jline.api.fj

Class FJ_char_maxKt

    • 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
    • Constructor Detail

    • Method Detail

      • fj_char_max_exp

         final static CharMaxResult fj_char_max_exp(Integer K, Double mu)

        Characteristic maximum M_K for exponential distribution.

        m_K = ln(K) / mu M_K = H_K / mu (exact for exponential)

        Parameters:
        K - Number of random variables (positive integer)
        mu - Rate parameter (positive)
        Returns:

        CharMaxResult with M_K and m_K

      • fj_char_max_erlang

         final static CharMaxResult fj_char_max_erlang(Integer K, Integer kStages, Double mu)

        Characteristic maximum M_K for Erlang-k distribution.

        Finds m_K by solving: exp(-mum_K) * sum_{i=0}^{k-1} (mum_K)^i/i! = 1/K

        Then: M_K = (k/mu) * 1 + K * exp(-mu*m_K) * (mu*m_K)^k / k!

        Parameters:
        K - Number of random variables (positive integer)
        kStages - Number of Erlang stages (positive integer)
        mu - Rate parameter per stage (positive)
        Returns:

        CharMaxResult with M_K and m_K