Class Pfqn_mvablo
pfqn_mvablo.m.
Closed single-class network of M stations with exponential service. A queue is a single server with total capacity K(i) (waiting plus in service). Blocking is Blocking-After-Service (BAS): a job completing service at j whose next station i is full stays at j, and j's server stops, until i releases a job. Delay (infinite-server) stations are a LINE extension: no queueing term, never full, but they can be blocked.
The population recursion is exact MVA until a mean queue length exceeds its capacity, Q(i) > K(i)+tol. The pass is then repeated with station i marked full (its arriving job's own "+1" term is dropped, eq. 15) and each upstream station j charged the blocking time S(i)*P(j,i)*e(j)/e(i) (eq. 14). Passes repeat until no capacity is exceeded; the full marks and blocking times carry over to the next population, as in the paper.
Results follow the paper, so a blocked job is counted at the SOURCE, whereas LINE's CTMC/JMT/LDES count it at the full destination.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult ofpfqn_mvablo(int, jline.util.matrix.Matrix, jline.util.matrix.Matrix, jline.util.matrix.Matrix, boolean[], double, int); every vector is M x 1. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pfqn_mvablo.Resultpfqn_mvablo(int N, Matrix S, Matrix P, Matrix K, boolean[] isdelay, double tol, int iter_max) Runs MVABLO.
-
Method Details
-
pfqn_mvablo
public static Pfqn_mvablo.Result pfqn_mvablo(int N, Matrix S, Matrix P, Matrix K, boolean[] isdelay, double tol, int iter_max) Runs MVABLO.- Parameters:
N- population (positive integer)S- mean service time per visit at each station (M x 1)P- station routing matrix (M x M, row-stochastic, irreducible)K- station capacity (M x 1, Infinity for unbounded; ignored at delays)isdelay- true at infinite-server stations (length M), or null for nonetol- slack on the capacity test Q(i) > K(i)+toliter_max- maximum passes at one population- Returns:
- the per-station measures, the blocking-time matrix and the convergence status
-