Package jline.api.mam

Class Map_checkfeasibleKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Boolean map_checkfeasible(MatrixCell MAP, Double TOL) Check the feasibility of a MAP with detailed validation.
      final static Boolean map_checkfeasible(Matrix D0, Matrix D1, Double TOL) Check the feasibility of a MAP given separate D0 and D1 matrices.
      final static Boolean map_checkfeasible(Matrix D0, Matrix D1) Check the feasibility of a MAP given separate D0 and D1 matrices.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • map_checkfeasible

         final static Boolean map_checkfeasible(MatrixCell MAP, Double TOL)

        Check the feasibility of a MAP with detailed validation.

        This function performs comprehensive validation of MAP matrices following the same approach as the MATLAB implementation. It checks:

        • Matrix dimensions and finite values

        • D0 diagonal elements (must be ≤ 0)

        • D0 off-diagonal elements (must be ≥ 0)

        • D1 elements (must be ≥ 0)

        • Generator property (row sums = 0)

        • Irreducibility and numerical stability

        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_checkfeasible

        @JvmOverloads() final static Boolean map_checkfeasible(Matrix D0, Matrix D1, Double TOL)

        Check the feasibility of a MAP given separate D0 and D1 matrices.

        Parameters:
        D0 - the hidden transition matrix (transitions without arrivals)
        D1 - the visible transition matrix (transitions with arrivals)
        TOL - the tolerance level for numerical stability checks (default: 1e-14)
        Returns:

        true if the MAP is feasible, false otherwise

      • map_checkfeasible

        @JvmOverloads() final static Boolean map_checkfeasible(Matrix D0, Matrix D1)

        Check the feasibility of a MAP given separate D0 and D1 matrices.

        Parameters:
        D0 - the hidden transition matrix (transitions without arrivals)
        D1 - the visible transition matrix (transitions with arrivals)
        Returns:

        true if the MAP is feasible, false otherwise