Package jline.api.mam
Class Map_sample
java.lang.Object
jline.api.mam.Map_sample
-
Method Summary
Modifier and TypeMethodDescriptionstatic BmapSample[]bmap_sample(MatrixCell bmap, long n, Random random) Generates samples from a BMAP (Batch Markovian Arrival Process).static BmapSample[]bmap_sample(Matrix D0, Matrix D1_total, Matrix[] Dk, long n, Random random) Generates samples from a BMAP using D0, D1_total, and individual Dk matrices.static double[]map_sample(MatrixCell MAP, long n, Random random) Generates samples of inter-arrival times from a MAP using a specified number of samples and a random generator.static double[]map_sample(Matrix D0, Matrix D1, long n, Random random) Generates samples of inter-arrival times from a MAP using a specified number of samples and a random generator.
-
Method Details
-
map_sample
Generates samples of inter-arrival times from a MAP using a specified number of samples and a random generator.- Parameters:
MAP- the MatrixCell representing the MAP, containing the D0 and D1 matricesn- the number of samples to generaterandom- the random number generator to use- Returns:
- an array of doubles containing the generated samples
-
map_sample
Generates samples of inter-arrival times from a MAP using a specified number of samples and a random generator.- Parameters:
D0- the hidden transition matrix of the MAPD1- the visible transition matrix of the MAPn- the number of samples to generaterandom- the random number generator to use- Returns:
- an array of doubles containing the generated samples
-
bmap_sample
Generates samples from a BMAP (Batch Markovian Arrival Process). -
bmap_sample
public static BmapSample[] bmap_sample(Matrix D0, Matrix D1_total, Matrix[] Dk, long n, Random random) Generates samples from a BMAP using D0, D1_total, and individual Dk matrices.
-