Package jline.api.mam
Class Mmap_scaleKt
-
- All Implemented Interfaces:
public final class Mmap_scaleKt
-
-
Method Summary
Modifier and Type Method Description final static MatrixCell
mmap_scale(MatrixCell MMAP, Matrix M, Integer maxIter)
Changes the mean inter-arrival time of a Markovian Arrival Process with marked arrivals (MMAP). final static MatrixCell
mmap_scale(MatrixCell MMAP, Matrix M)
Overloaded function for backward compatibility -
-
Method Detail
-
mmap_scale
final static MatrixCell mmap_scale(MatrixCell MMAP, Matrix M, Integer maxIter)
Changes the mean inter-arrival time of a Markovian Arrival Process with marked arrivals (MMAP).
This method scales the MMAP to achieve a desired mean inter-arrival time. If a single new mean (M) is provided, the method scales all matrices (D0, D1, and the marking matrices) uniformly. If a matrix M is provided with different desired means for each class, the method scales each class independently.
- Parameters:
MMAP
- the original MMAP to be scaledM
- a matrix containing the new mean inter-arrival times; can be a single value or a vector with one value per classmaxIter
- maximum number of iterations for the optimization algorithm (default: 30)- Returns:
the scaled MMAP with adjusted mean inter-arrival times
-
mmap_scale
final static MatrixCell mmap_scale(MatrixCell MMAP, Matrix M)
Overloaded function for backward compatibility
- Parameters:
MMAP
- the original MMAP to be scaledM
- a matrix containing the new mean inter-arrival times- Returns:
the scaled MMAP with adjusted mean inter-arrival times
-
-
-
-