Package jline.api.mam

Class Aph_simplifyKt

    • 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 Pair<Matrix, Matrix> aph_simplify(Matrix a1, Matrix T1, Matrix a2, Matrix T2, Double p1, Double p2, Integer pattern) Simplifies and combines two APH distributions using different structural patterns.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • aph_simplify

         final static Pair<Matrix, Matrix> aph_simplify(Matrix a1, Matrix T1, Matrix a2, Matrix T2, Double p1, Double p2, Integer pattern)

        Simplifies and combines two APH distributions using different structural patterns.

        This function provides various ways to combine two Acyclic Phase-type (APH) distributions represented by their initial probability vectors and generator matrices.

        Parameters:
        a1 - Initial probability vector for the first APH
        T1 - Generator matrix for the first APH
        a2 - Initial probability vector for the second APH
        T2 - Generator matrix for the second APH
        p1 - Branch probability for the first APH (used in branch pattern)
        p2 - Branch probability for the second APH (used in branch pattern)
        pattern - The combination pattern: 1=sequence, 2=parallel, 3=branch
        Returns:

        A pair of (alpha, T) representing the combined APH distribution