Package jline.api.mam

Class Map_randn

java.lang.Object
jline.api.mam.Map_randn

public final class Map_randn extends Object
  • Method Details

    • map_randn

      public static MatrixCell 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

      public static MatrixCell map_randn(int K, double mu, double sigma)
      Generates a random MAP with K states using normal distribution.
      Parameters:
      K - the number of states
      mu - the mean of the normal distribution
      sigma - the standard deviation of the normal distribution
      Returns:
      a MatrixCell representing the random MAP transition matrices