Learn R Programming

queueing (version 0.1.6)

NewInput.MCON: Define the inputs of a MultiClass Open Network

Description

Define the inputs of a MultiClass Open Network

Usage

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

Arguments

classes
The number of classes
vLambda
It is a vector with the rate of arrivals of each class
nodes
The number of nodes in the network
vType
A vector with the type of node: "Q" for queueing nodes or "D" for delay nodes
vVisit
A matrix[i, j]. The rows represents the different visit count for each class i to each node j
vService
A matrix[i, j]. The rows represents the different service times for each class i in each node j

Details

Define the inputs of a MultiClass Open Network

References

[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

QueueingModel.i_MCON

Examples

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

Run the code above in your browser using DataLab