Package jline.api.mam

Class Map_sample

java.lang.Object
jline.api.mam.Map_sample

public final class Map_sample extends Object
  • Method Details

    • map_sample

      public 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.
      Parameters:
      MAP - the MatrixCell representing the MAP, containing the D0 and D1 matrices
      n - the number of samples to generate
      random - the random number generator to use
      Returns:
      an array of doubles containing the generated samples
    • map_sample

      public 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.
      Parameters:
      D0 - the hidden transition matrix of the MAP
      D1 - the visible transition matrix of the MAP
      n - the number of samples to generate
      random - the random number generator to use
      Returns:
      an array of doubles containing the generated samples
    • bmap_sample

      public static BmapSample[] bmap_sample(MatrixCell bmap, long n, Random random)
      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.