Returns the probabilities of a M/M/1 queueing model

Share:

Description

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

Usage

1
2
3
4
  ## S3 method for class 'o_MM1'
Pn(x, ...)
  ## S3 method for class 'o_MM1'
Qn(x, ...)

Arguments

x

a object of class o_MM1

...

aditional arguments

Details

Pn returns the probabilities that a M/M/1/K queueing model has n customers.
Qn returns the probabilities that an arrival that enter the system see n customers. By the PASTA property, both probabilities has to be the same.

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_MM1.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## See example 10.3 in reference [Sixto2004] for more details.
## create input parameters
i_mm1 <- NewInput.MM1(lambda=1/4, mu=1/3, n=0)

## Build the model
o_mm1 <- QueueingModel(i_mm1)

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.