Class Map_normalizeKt
-
- All Implemented Interfaces:
public final class Map_normalizeKt
-
-
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. -
-
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.
-
-
-
-