Class GeoGeo1Result

java.lang.Object
jline.api.qsys.GeoGeo1Result

public final class GeoGeo1Result extends Object
Result of a discrete-time Geo/Geo/1 queue analysis.

All time quantities are expressed in slots. The queue-length distribution is geometric in both conventions but with different forms, so it is exposed through pmf(int) rather than as a fixed pair of parameters.

  • Constructor Details

    • GeoGeo1Result

      public GeoGeo1Result(GeoGeo1Convention convention, double arrivalProb, double serviceProb, double utilization, double throughput, double emptyProb, double ratio, double meanQueueLength, double meanWaitingQueue, double meanSojournTime, double meanWaitingTime, double meanServiceTime)
  • Method Details

    • getConvention

      public GeoGeo1Convention getConvention()
      Convention under which the metrics were computed.
    • getArrivalProb

      public double getArrivalProb()
      Per-slot arrival probability a.
    • getServiceProb

      public double getServiceProb()
      Per-slot service completion probability s.
    • getUtilization

      public double getUtilization()
      Fraction of slots in which the server is serving, a/s in both conventions.
    • getThroughput

      public double getThroughput()
      Departures per slot, equal to a in steady state.
    • getEmptyProb

      public double getEmptyProb()
      Probability that the system is empty at a slot boundary.
    • getRatio

      public double getRatio()
      Geometric decay ratio of the queue-length tail, a(1-s)/(s(1-a)).
    • getMeanQueueLength

      public double getMeanQueueLength()
      Mean number of jobs in the system.
    • getMeanWaitingQueue

      public double getMeanWaitingQueue()
      Mean number of jobs waiting, i.e. not in service.
    • getMeanSojournTime

      public double getMeanSojournTime()
      Mean sojourn time in slots.
    • getMeanWaitingTime

      public double getMeanWaitingTime()
      Mean waiting time in slots, identical in both conventions.
    • getMeanServiceTime

      public double getMeanServiceTime()
      Mean service time in slots: 1/s under GeoGeo1Convention.LAS_DA (support {1,2,...}) and (1-s)/s under GeoGeo1Convention.EAS (support {0,1,...}).
    • pmf

      public double pmf(int n)
      Stationary probability of finding n jobs in the system at a slot boundary.
      Parameters:
      n - number of jobs, n >= 0
      Returns:
      the stationary probability
    • toString

      public String toString()
      Overrides:
      toString in class Object