Package jline.api.polling
Class Polling_qsys_exhaustive
java.lang.Object
jline.api.polling.Polling_qsys_exhaustive
-
Method Summary
Modifier and TypeMethodDescriptionstatic double[]polling_qsys_exhaustive(double[] lambda, double[] b, double[] b2, double[] r1, double[] delta2) Moment form.static double[]polling_qsys_exhaustive(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs) Computes mean waiting times for an exhaustive polling system.
-
Method Details
-
polling_qsys_exhaustive
public static double[] polling_qsys_exhaustive(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs) Computes mean waiting times for an exhaustive polling system. -
polling_qsys_exhaustive
public static double[] polling_qsys_exhaustive(double[] lambda, double[] b, double[] b2, double[] r1, double[] delta2) Moment form. The formulas read only the per-queue arrival rate, the first two service moments and the switchover mean and variance, so a caller holding a law with no MAP (a Det or Uniform switchover, a general service) passes those directly instead of a MAP surrogate of the wrong variance.- Parameters:
lambda- per-queue Poisson arrival rateb- per-queue mean service time E[S]b2- per-queue second service moment E[S^2]r1- mean of the switchover out of each queue (Takagi's r_i)delta2- variance of the switchover out of each queue- Returns:
- mean waiting time per queue
-