Package jline.lib.kpctoolbox
Object APH
-
- All Implemented Interfaces:
public class APHFacade object for Acyclic Phase-Type (APH) functions. Accessed by the wrapper via: jline.lib.kpctoolbox.APH
-
-
Method Summary
Modifier and Type Method Description final static Pair<Matrix, Matrix>fromMoments(Matrix moments)Fits APH distribution from moments. final static Doublebounds2ndOrder(Double m1, Double m2, Double m3)Computes moment bounds for APH distributions of order 2. final static Doublebounds3rdOrder(Double m1, Double m2, Double m3)Computes moment bounds for APH distributions of order 3. -
-
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 momentm2- Second momentm3- 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 momentm2- Second momentm3- Third moment- Returns:
Bounds value
-
-
-
-