Package jline.api.mam

Class Map_isfeasible

java.lang.Object
jline.api.mam.Map_isfeasible

public final class Map_isfeasible extends Object
  • Method Details

    • map_isfeasible

      public static boolean map_isfeasible(MatrixCell MAP, double TOL)
      Checks if the provided MAP is feasible based on the given tolerance.

      This method evaluates whether the MAP transition matrices meet the necessary conditions for a valid MAP, such as non-negativity of elements, proper row/column sums, etc.

      Parameters:
      MAP - the MatrixCell representing the MAP transition matrices
      TOL - the tolerance level for numerical stability checks
      Returns:
      true if the MAP is feasible, false otherwise
    • map_isfeasible

      public static boolean map_isfeasible(MatrixCell MAP)
      Checks if the provided MAP is feasible using a default tolerance.

      This method uses a standard tolerance level to determine the feasibility of the MAP.

      Parameters:
      MAP - the MatrixCell representing the MAP transition matrices
      Returns:
      true if the MAP is feasible, false otherwise