Package jline.api.polling
Class Polling_qsys_klimited
java.lang.Object
jline.api.polling.Polling_qsys_klimited
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]polling_qsys_klimited(double[] lambda, double[] b, double[] b2, double[] r1, double[] delta2, int[] K) Moment form (see Polling_qsys_exhaustive for the parameters).static double[]polling_qsys_klimited(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs, int K) MAP form with the same limit K at every queue.static double[]polling_qsys_klimited(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs, int[] K) MAP form.
-
Method Details
-
polling_qsys_klimited
public static double[] polling_qsys_klimited(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs, int[] K) MAP form. Queue i is served K_i-limited: a visit ends after K_i services or when the queue empties (arrivals during the visit are eligible). E[W_i] + b_i = (1-rho) / (1 - rho - lambda_i R / K_i) (E[W_i^E] + b_i) with E[W_i^E] the exact exhaustive wait of the same system and R the mean total switchover per cycle. Exact for symmetric systems at K=1 and as K grows; for asymmetric systems a queue-by-queue scaling.- Parameters:
K- one positive integer per queue, or a single entry for all queues- Returns:
- mean waiting time per queue
-
polling_qsys_klimited
public static double[] polling_qsys_klimited(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs, int K) MAP form with the same limit K at every queue. -
polling_qsys_klimited
public static double[] polling_qsys_klimited(double[] lambda, double[] b, double[] b2, double[] r1, double[] delta2, int[] K) Moment form (see Polling_qsys_exhaustive for the parameters).- Parameters:
K- one positive integer per queue, or a single entry for all queues
-