Learn R Programming

queueing (version 0.2.12)

Lk: Returns the vector with the mean number of customers in each node (server) of a queueing network

Description

Returns the vector with the mean number of customers in each node (server) of a queueing network

Usage

Lk(x, …)

Arguments

x

a object of class o_OJN, o_CJN, o_MCON, o_MCCN, o_MCMN

aditional arguments

Details

Returns the vector with the mean number of customers in each node (server) of a queueing network

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.

[Lazowska84] Edward D. Lazowska, John Zahorjan, G. Scott Graham, and Kenneth C. Sevcik (1984). Quantitative System Performance: Computer System Analysis Using Queueing Network Models. Prentice-Hall, Inc., Englewood Cliffs, New Jersey

See Also

Lk.o_OJN Lk.o_CJN Lk.o_MCON Lk.o_MCCN Lk.o_MCMN

Examples

Run this code
# NOT RUN {
## See example in pag 138 in reference [Lazowska84] for more details.

classes <- 2
vLambda <- c(3/19, 2/19)
nodes <- 2
vType <- c("Q", "Q")
vVisit <- matrix(data=c(10, 9, 5, 4), nrow=2, ncol=2, byrow=TRUE)
vService <- matrix(data=c(1/10, 1/3, 2/5, 1), nrow=2, ncol=2, byrow=TRUE)

i_mcon1 <- NewInput.MCON(classes, vLambda, nodes, vType, vVisit, vService)

# Build the model
o_mcon1 <- QueueingModel(i_mcon1)

Lk(o_mcon1)

# }

Run the code above in your browser using DataLab