Package jline.api.mam

Class Mmap_normalize

java.lang.Object
jline.api.mam.Mmap_normalize

public final class Mmap_normalize extends Object
  • Method Details

    • mmap_normalize

      public static MatrixCell mmap_normalize(MatrixCell MMAP)
      Normalizes a Markovian Arrival Process with marked arrivals (MMAP) to ensure feasibility. This method adjusts the MMAP by setting negative off-diagonal values in the D0 matrix to zero and ensuring that all elements in the marking matrices are non-negative. It also recalculates the D1 matrix to reflect the sum of the marking matrices. The diagonal elements of the D0 matrix are adjusted to ensure that each row sums to zero, maintaining the properties of a valid generator matrix.
      Parameters:
      MMAP - the MatrixCell representing the MMAP to be normalized
      Returns:
      the normalized MatrixCell, or null if the input MMAP is empty