QueueingModel.i_MCCN: Builds one MultiClass Closed Network

Description Usage Arguments Details References See Also Examples

View source: R/MCCN.R

Description

Builds one MultiClass Closed Network

Usage

1
2
  ## S3 method for class 'i_MCCN'
QueueingModel(x, ...)

Arguments

x

a object of class i_MCCN

...

aditional arguments

Details

Build one MultiClass Closed Network. It also checks the input params calling the CheckInput.i_MCCN

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

CheckInput.i_MCCN

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## See example in pag 142 in reference [Lazowska84] for more details.

classes <- 2
vNumber <- c(1, 1)
vThink <- c(0, 0)
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_MCCN1 <- NewInput.MCCN(classes, vNumber, vThink, nodes, vType, vVisit, vService)

# Build the model
o_MCCN1 <- QueueingModel(i_MCCN1)

o_MCCN1

queueing documentation built on Dec. 9, 2019, 1:06 a.m.