Learn R Programming

queueing (version 0.1.4)

Wq.o_MM1: Returns the mean time spend in queue in the M/M/1 queueing model

Description

Returns the mean time spend in queue in the M/M/1 queueing model

Usage

## S3 method for class 'o_MM1':
Wq(x, \dots)

Arguments

Details

Returns the mean time spend in queue in the M/M/1 queueing model

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
## 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 Wq
Wq(o_mm1)

Run the code above in your browser using DataLab