Package jline.api.mam
Class Aph2_assembleKt
-
- All Implemented Interfaces:
public final class Aph2_assembleKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixCell
aph2_assemble(Double l1, Double l2, Double p1)
Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters. -
-
Method Detail
-
aph2_assemble
final static MatrixCell aph2_assemble(Double l1, Double l2, Double p1)
Assembles an acyclic phase-type (APH) distribution with two phases (APH(2)) using the given parameters.
This method constructs the transition matrices
D0
andD1
for an APH(2) distribution based on the parameters:l1
andl2
(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
D0
andD1
of the APH(2) distribution
-
-
-
-