Package jline.api.mam
Class Map_max
java.lang.Object
jline.api.mam.Map_max
-
Method Summary
Modifier and TypeMethodDescriptionstatic MatrixCellmap_max(MatrixCell A, MatrixCell B) Computes the MAP that represents the maximum of two independent MAPs.
-
Method Details
-
map_max
Computes the MAP that represents the maximum of two independent MAPs. The phase space is ordered as [(i,j) pairs, B-only phases, A-only phases]: in the first block both A and B are still running, in the second block A has already completed and B is awaited, in the third block B has completed and A is awaited. An arrival is recorded when the second of the two completes, i.e. only out of the last two blocks.- Parameters:
A- the first MAP, as {D0,D1}B- the second MAP, as {D0,D1}- Returns:
- a MAP whose inter-arrival times are distributed as max(X,Y)
-