Learn R Programming

queueing (version 0.1.4)

Throughput.o_OJN: Reports the throughput of a Open Jackson Network

Description

Reports the throughput of a Open Jackson Network

Usage

## S3 method for class 'o_OJN':
Throughput(x, \dots)

Arguments

Details

Reports the throughput of a Open Jackson 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.

See Also

NewInput.OJN, CheckInput.i_OJN, QueueingModel.i_OJN

Examples

Run this code
## See example 11.11 in reference [Sixto2004] for more details.
## create the nodes
n1 <- NewInput.MM1(lambda=8, mu=14, n=0)
n2 <- NewInput.MM1(lambda=0, mu=9, n=0)
n3 <- NewInput.MM1(lambda=6, mu=17, n=0)
n4 <- NewInput.MM1(lambda=0, mu=7, n=0)

# definition of the transition probabilities
prob <- matrix(data=c(0, 0.2, 0.56, 0.24, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), nrow=4, ncol=4, byrow=TRUE)

# Deinition of the new input
i_ojn <- NewInput.OJN(prob, n1, n2, n3, n4)

# Build the models
o_ojn <- QueueingModel(i_ojn)

Throughput(o_ojn)

Run the code above in your browser using DataLab