Package jline.api.mam
Class Aph_simplifyKt
-
- All Implemented Interfaces:
public final class Aph_simplifyKt
-
-
Method Summary
-
-
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 APHT1
- Generator matrix for the first APHa2
- Initial probability vector for the second APHT2
- Generator matrix for the second APHp1
- 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
-
-
-
-