Package jline.api.mam
Class Aph_randKt
-
- All Implemented Interfaces:
public final class Aph_randKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixCell
aph_rand(Integer K)
Generates a random Acyclic Phase-type (APH) distribution with K phases. final static MatrixCell
aph_rand()
Generates a random Acyclic Phase-type (APH) distribution with 2 phases. -
-
Method Detail
-
aph_rand
final static MatrixCell aph_rand(Integer K)
Generates a random Acyclic Phase-type (APH) distribution with K phases.
An APH distribution is a special case of a phase-type distribution where the underlying Markov chain has an acyclic structure (no cycles). This function generates a random APH by creating matrices with the appropriate structure.
- Parameters:
K
- the number of phases- Returns:
a MatrixCell representing the random APH distribution
-
aph_rand
final static MatrixCell aph_rand()
Generates a random Acyclic Phase-type (APH) distribution with 2 phases.
- Returns:
a MatrixCell representing the random APH distribution
-
-
-
-