Pn.o_MMCK: Returns the probabilities of a M/M/c/K queueing model

Description Usage Arguments Details References See Also Examples

View source: R/MMCK.R

Description

Pn returns the probabilities that a M/M/c/K queueing model has n customers.
Qn returns the probabilities that an arrival that enter the system see n customers in it.

Usage

1
2
3
4
  ## S3 method for class 'o_MMCK'
Pn(x, ...)
  ## S3 method for class 'o_MMCK'
Qn(x, ...)

Arguments

x

a object of class o_MMCK

...

aditional arguments

Details

Pn returns the probabilities that a M/M/c/K queueing model has n customers.
Qn returns the probabilities that an arrival that enter the system see n customers.

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_MMCK.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## See example 10.11 in reference [Sixto2004] for more details.
## create input parameters
i_mmck <- NewInput.MMCK(lambda=8, mu=4, c=5, k=12)

## Build the model
o_mmck <- QueueingModel(i_mmck)

## Returns the probabilities
Pn(o_mmck)
Qn(o_mmck)

Example output

Warning messages:
1: In formals(fun) : argument is not a function
2: In formals(fun) : argument is not a function
3: In formals(fun) : argument is not a function
4: In formals(fun) : argument is not a function
5: In formals(fun) : argument is not a function
 [1] 1.343336e-01 2.686672e-01 2.686672e-01 1.791115e-01 8.955574e-02
 [6] 3.582230e-02 1.432892e-02 5.731568e-03 2.292627e-03 9.170508e-04
[11] 3.668203e-04 1.467281e-04 5.869125e-05
 [1] 0.1343414988 0.2686829976 0.2686829976 0.1791219984 0.0895609992
 [6] 0.0358243997 0.0143297599 0.0057319039 0.0022927616 0.0009171046
[11] 0.0003668419 0.0001467367

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