Package jline.api.mam
Class Aph2_assemble
java.lang.Object
jline.api.mam.Aph2_assemble
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixCellaph2_assemble(double l1, double l2, double p1) Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters.
-
Method Details
-
aph2_assemble
Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters.This method constructs the transition matrices
D0andD1for an APH(2) distribution based on the parameters:l1andl2(the rates of the exponential phases), andp1(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 phasel2- the rate of the second exponential phasep1- the probability of transitioning from the first phase to the second phase- Returns:
- a MatrixCell containing the transition matrices
D0andD1of the APH(2) distribution
-