Class Polling_qsys_gated

java.lang.Object
jline.api.polling.Polling_qsys_gated

public final class Polling_qsys_gated extends Object
  • Method Details

    • polling_qsys_gated

      public static double[] polling_qsys_gated(MatrixCell[] arvMAPs, MatrixCell[] svcMAPs, MatrixCell[] switchMAPs)
      Computes mean waiting times for a polling system with gated service discipline.
    • polling_qsys_gated

      public static double[] polling_qsys_gated(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 rate
      b - 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