Inputs.o_OJN: Returns the input params of an Open Jackson Network

Description Usage Arguments Details References See Also Examples

View source: R/OJN.R

Description

Returns the input params of an Open Jackson Network

Usage

1
2
  ## S3 method for class 'o_OJN'
Inputs(x, ...)

Arguments

x

a object of class o_OJN

...

aditional arguments

Details

Returns the input params of an Open Jackson Network. The inputs parameters are created calling previously the NewInput.OJN

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.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## 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)
m  <- c(0, 0.2, 0.56, 0.24, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)

# definition of the transition probabilities
prob <- matrix(data=m, nrow=4, ncol=4, byrow=TRUE)

i_ojn1 <- NewInput.OJN(prob, n1, n2, n3, n4)

# Build the model
o_ojn1 <- QueueingModel(i_ojn1)

Inputs(o_ojn1)

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