Package jline.api.mam
Class Map_randn
java.lang.Object
jline.api.mam.Map_randn
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixCellGenerates a random MAP with 2 states using N(1, 2^2) magnitudes.static MatrixCellmap_randn(int K, double mu, double sigma) Generates a random MAP with K states using normal distribution.
-
Method Details
-
map_randn
Generates a random MAP with 2 states using N(1, 2^2) magnitudes.- Returns:
- a MatrixCell representing the random MAP transition matrices
-
map_randn
Generates a random MAP with K states using normal distribution.- Parameters:
K- the number of statesmu- the mean of the normal distributionsigma- the standard deviation of the normal distribution- Returns:
- a MatrixCell representing the random MAP transition matrices
-