Learn R Programming

queueing (version 0.2.12)

Wk: Generic S3 method to return the mean time spend in each node (or server) of a network

Description

Generic S3 method to return the mean time spend in each node (or server) of a network

Usage

Wk(x, …)

Arguments

x

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

aditional arguments

Details

Generic S3 method to return the mean time spend in each node (or server) of a 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

Wk.o_OJN Wk.o_CJN Wk.o_MCON Wk.o_MCCN Wk.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)

Wk(o_mcon1)

# }

Run the code above in your browser using DataLab