Object APH

  • All Implemented Interfaces:

    
    public class APH
    
                        

    Facade object for Acyclic Phase-Type (APH) functions. Accessed by the wrapper via: jline.lib.kpctoolbox.APH

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static APH INSTANCE
    • 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> fromMoments(Matrix moments) Fits APH distribution from moments.
      final static Double bounds2ndOrder(Double m1, Double m2, Double m3) Computes moment bounds for APH distributions of order 2.
      final static Double bounds3rdOrder(Double m1, Double m2, Double m3) Computes moment bounds for APH distributions of order 3.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • fromMoments

         final static Pair<Matrix, Matrix> fromMoments(Matrix moments)

        Fits APH distribution from moments. Wrapper calls: APH.fromMoments(momentsMatrix) Returns a Pair where .first = alpha (Matrix), .second = A (Matrix).

        Parameters:
        moments - Matrix containing E1, E2, E3
        Returns:

        Pair of (alpha as Matrix, A as Matrix)

      • bounds2ndOrder

         final static Double bounds2ndOrder(Double m1, Double m2, Double m3)

        Computes moment bounds for APH distributions of order 2. Wrapper calls: APH.bounds2ndOrder(m1, m2, m3)

        Parameters:
        m1 - First moment
        m2 - Second moment
        m3 - Third moment
        Returns:

        Bounds value

      • bounds3rdOrder

         final static Double bounds3rdOrder(Double m1, Double m2, Double m3)

        Computes moment bounds for APH distributions of order 3. Wrapper calls: APH.bounds3rdOrder(m1, m2, m3)

        Parameters:
        m1 - First moment
        m2 - Second moment
        m3 - Third moment
        Returns:

        Bounds value