Class CheckDMAPRepresentation

java.lang.Object
jline.lib.butools.dmap.CheckDMAPRepresentation

public final class CheckDMAPRepresentation extends Object
  • Method Details

    • checkDMAPRepresentation

      public static boolean checkDMAPRepresentation(Matrix D0, Matrix D1, double prec)
      Checks if the input matrices define a discrete time MAP. Matrices D0 and D1 must have the same size, D0 must be a transient probability matrix, D1 has only non-negative elements, and the rowsum of D0+D1 is 1 (up to the numerical precision).
      Parameters:
      D0 - The D0 matrix of the DMAP to check
      D1 - The D1 matrix of the DMAP to check
      prec - Numerical precision, default value is 1e-14
      Returns:
      True if the matrices define a valid DMAP
    • checkDMAPRepresentation

      public static boolean checkDMAPRepresentation(Matrix D0, Matrix D1)