Package jline.api.mam

Class Aph2_assembleKt

    • 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 MatrixCell aph2_assemble(Double l1, Double l2, Double p1) Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • aph2_assemble

         final static MatrixCell aph2_assemble(Double l1, Double l2, Double p1)

        Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters.

        This method constructs the transition matrices D0 and D1 for an APH(2) distribution based on the parameters: l1 and l2 (the rates of the exponential phases), and p1 (the probability of transitioning between the phases). The resulting distribution has two phases, each represented by an exponential distribution, with transitions between the phases as specified by the given parameters.

        Parameters:
        l1 - the rate of the first exponential phase
        l2 - the rate of the second exponential phase
        p1 - the probability of transitioning from the first phase to the second phase
        Returns:

        a MatrixCell containing the transition matrices D0 and D1 of the APH(2) distribution