Package jline.api.mam

Class Map_normalizeKt

    • 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 MatrixCell map_normalize(Matrix D0, Matrix D1) Sanitizes the (D0, D1) matrices of a Markovian Arrival Process (MAP) by ensuring all elements are non-negative and adjusting diagonal elements.
      final static MatrixCell map_normalize(MatrixCell MAP) Sanitizes the (D0, D1) matrices of a Markovian Arrival Process (MAP) stored in a MatrixCell.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • map_normalize

         final static MatrixCell map_normalize(Matrix D0, Matrix D1)

        Sanitizes the (D0, D1) matrices of a Markovian Arrival Process (MAP) by ensuring all elements are non-negative and adjusting diagonal elements.

        This function modifies the given hidden (D0) and visible (D1) transition matrices of a MAP to ensure they adhere to the necessary constraints for a valid MAP. Specifically, it sets any negative elements to zero and adjusts the diagonal elements of D0 such that each row sums to zero, preserving the stochastic nature of the matrix.

        Parameters:
        D0 - The hidden transition matrix of the MAP, representing transitions that do not result in visible events.
        D1 - The visible transition matrix of the MAP, representing transitions that result in visible events.
        Returns:

        A MatrixCell containing the sanitized D0 and D1 matrices.

      • map_normalize

         final static MatrixCell map_normalize(MatrixCell MAP)

        Sanitizes the (D0, D1) matrices of a Markovian Arrival Process (MAP) stored in a MatrixCell.

        This function applies the sanitization process to the hidden (D0) and visible (D1) transition matrices of a MAP stored in a MatrixCell. It ensures that all elements are non-negative and adjusts the diagonal elements to maintain the stochastic nature of the matrices. The function is a convenience method that extracts the D0 and D1 matrices from the MAP and passes them to the more detailed sanitization function.

        Parameters:
        MAP - The Markovian Arrival Process stored in a MatrixCell, containing the (D0, D1) matrices.
        Returns:

        A MatrixCell containing the sanitized (D0, D1) matrices.