Learn R Programming

queueing (version 0.2.12)

print.summary.o_CJN: Summary of the results of a Closed Jackson Network

Description

Summary of the results of a Closed Jackson Network

Usage

# S3 method for summary.o_CJN
print(x, …)

Arguments

x

a object of class summary.o_CJN

aditional arguments

Details

Summaries a Closed Jackson Network model

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

QueueingModel.i_CJN.

Examples

Run this code
# NOT RUN {
## See example 11.13 in reference [Sixto2004] for more details.
## create the nodes
n <- 2
n1 <- NewInput.MM1(lambda=0, mu=1/0.2, n=0)
n2 <- NewInput.MM1(lambda=0, mu=1/0.4, n=0)

# think time = 0
z <- 0

# operational value
operational <- FALSE

# definition of the transition probabilities
prob <- matrix(data=c(0.5, 0.5, 0.5, 0.5), nrow=2, ncol=2, byrow=TRUE)

# Define a new input
cjn1 <- NewInput.CJN(prob, n, z, operational, 0, 0.001, n1, n2)

# Check the inputs and build the model
m_cjn1 <- QueueingModel(cjn1)

print(summary(m_cjn1))

# }

Run the code above in your browser using DataLab