Package jline.api.mam

Class Map_dist

java.lang.Object
jline.api.mam.Map_dist

public final class Map_dist extends Object
  • Method Details

    • map_dist

      public static double map_dist(Matrix A0, Matrix A1, Matrix B0, Matrix B1, int L)
      Computes the squared L2 distance between lag-L joint densities of two MAPs. The stationary vectors at arrivals are computed internally.
      Parameters:
      A0 - hidden transition matrix of the first MAP
      A1 - visible transition matrix of the first MAP
      B0 - hidden transition matrix of the second MAP
      B1 - visible transition matrix of the second MAP
      L - lag parameter
      Returns:
      the squared L2 distance
    • map_dist

      public static double map_dist(Matrix A0, Matrix A1, Matrix B0, Matrix B1, int L, Matrix alA, Matrix alB)
      Computes the squared L2 distance between lag-L joint densities of two MAPs.
      Parameters:
      A0 - hidden transition matrix of the first MAP
      A1 - visible transition matrix of the first MAP
      B0 - hidden transition matrix of the second MAP
      B1 - visible transition matrix of the second MAP
      L - lag parameter
      alA - stationary vector at arrivals of the first MAP
      alB - stationary vector at arrivals of the second MAP
      Returns:
      the squared L2 distance