Package jline.api.qsys
Class GeoGeo1Result
java.lang.Object
jline.api.qsys.GeoGeo1Result
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 Summary
ConstructorsConstructorDescriptionGeoGeo1Result(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 Summary
Modifier and TypeMethodDescriptiondoublePer-slot arrival probability a.Convention under which the metrics were computed.doubleProbability that the system is empty at a slot boundary.doubleMean number of jobs in the system.doubleMean service time in slots: 1/s underGeoGeo1Convention.LAS_DA(support {1,2,...}) and (1-s)/s underGeoGeo1Convention.EAS(support {0,1,...}).doubleMean sojourn time in slots.doubleMean number of jobs waiting, i.e.doubleMean waiting time in slots, identical in both conventions.doublegetRatio()Geometric decay ratio of the queue-length tail, a(1-s)/(s(1-a)).doublePer-slot service completion probability s.doubleDepartures per slot, equal to a in steady state.doubleFraction of slots in which the server is serving, a/s in both conventions.doublepmf(int n) Stationary probability of finding n jobs in the system at a slot boundary.toString()
-
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
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 underGeoGeo1Convention.LAS_DA(support {1,2,...}) and (1-s)/s underGeoGeo1Convention.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
-