Learn R Programming

queueing (version 0.2.3)

Pn.o_MMCK: Returns the probabilities of a M/M/c/K queueing model

Description

Pn returns the probabilities that a M/M/c/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_MMCK':
Pn(x, \dots)
  ## S3 method for class 'o_MMCK':
Qn(x, \dots)

Arguments

Details

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

References

[Sixto2004] Sixto Rios Insua, Alfonso Mateos Caballero, M Concepcion Bielza Lozoya, Antonio Jimenez Martin (2004). Investigacion Operativa. Modelos deterministicos y estocasticos. Editorial Centro de Estudios Ramon Areces.

See Also

QueueingModel.i_MMCK.

Examples

Run this code
## See example 10.11 in reference [Sixto2004] for more details.
## create input parameters
i_mmck <- NewInput.MMCK(lambda=8, mu=4, c=5, k=12)

## Build the model
o_mmck <- QueueingModel(i_mmck)

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

Run the code above in your browser using DataLab