Learn R Programming

queueing (version 0.2.12)

Pn.o_MM1: Returns the probabilities of a M/M/1 queueing model

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

# S3 method for o_MM1
Pn(x, …)
  # S3 method for o_MM1
Qn(x, …)

Arguments

x

a object of class o_MM1

aditional arguments

Details

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

Run this code
# NOT RUN {
## 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)

# }

Run the code above in your browser using DataLab