Learn R Programming

queueing (version 0.2.3)

Pn.o_MMInfKK: Returns the probabilities of a M/M/Infinite/K/K queueing model

Description

Pn returns the probabilities that a M/M/Infinite/K/K queueing model has n customers. Qn returns the probabilities that an arrival that enter the system see n customers in it.

Usage

## S3 method for class 'o_MMInfKK':
Pn(x, \dots)
  ## S3 method for class 'o_MMInfKK':
Qn(x, \dots)

Arguments

Details

Pn returns the probabilities that a M/M/Infinite/K/K queueing model has n customers. Qn returns the probabilities that an arrival that enter the system see n customers.

References

[Kleinrock1975] Leonard Kleinrock (1975). Queueing Systems Vol 1: Theory. John Wiley & Sons.

See Also

QueueingModel.i_MMInfKK.

Examples

Run this code
## create input parameters
i_MMInfKK <- NewInput.MMInfKK(lambda=0.25, mu=4, k=4)

## Build the model
o_MMInfKK <- QueueingModel(i_MMInfKK)

## Returns the probabilities
Pn(o_MMInfKK)
Qn(o_MMInfKK)

Run the code above in your browser using DataLab