Package jline.lib.butools.dmap
Class CheckDMMAPRepresentation
java.lang.Object
jline.lib.butools.dmap.CheckDMMAPRepresentation
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanstatic booleancheckDMMAPRepresentation(Matrix[] D, double prec) Overload for Matrix[].static booleanstatic booleancheckDMMAPRepresentation(MatrixCell D, double prec) Checks if the input matrices define a discrete time MMAP.
-
Method Details
-
checkDMMAPRepresentation
Checks if the input matrices define a discrete time MMAP. All matrices D0...DK must have the same size, D0 must be a transient probability matrix, D1...DK have only non-negative elements, and the rowsum of D0+D1+...+DK is 1 (up to the numerical precision).- Parameters:
D- The D0...DK matrices of the DMMAP to check (as MatrixCell)prec- Numerical precision- Returns:
- True if the matrices define a valid DMMAP
-
checkDMMAPRepresentation
-
checkDMMAPRepresentation
Overload for Matrix[]. -
checkDMMAPRepresentation
-