Content deleted Content added
Gareth Jones (talk | contribs) reference <ref name="gn"> |
Gareth Jones (talk | contribs) move derivation up, relabel algorithm description |
||
Line 14:
Buzen's algorithm is an efficient method to compute G(''N'').<ref name="buzen-1973" />
==Algorithm description==
Write g(''N'',''M'') for the normalising constant of a closed queueing network with ''N'' circulating customers and ''M'' service stations. The algorithm starts by noting<ref name="buzen-1973" />
: <math>g(0, m) = 1 \text{ for }m=1,2,\cdots,M</math>▼
: <math>g(n, 1) = (X_1)^n \text{ for }n=0,1,\cdots,N</math>▼
and solving for the ''X''<sub>''i''</sub>. The recurrence relation<ref name="buzen-1973" />
is used to compute a grid of values. The sought for value G(''N'') = g(''N'',''M'').<ref name="buzen-1973" />
==Marginal distributions, expected number of customers==
Line 21 ⟶ 30:
:<math>P(n_i = k) = \frac{X_i^k}{G(N)}[G(N-k) - X_i G(N-k-1)]</math>
:<math>E[n_i] = \sum_{k=1}^N X_i^k \frac{G(N-k)}{G(N)}.</math>
Note that these expressions also involve G. It is in the evaluation of these expressions that the algorithm is useful.
▲& = g(n,m-1)+X_m g(n-1,m)
▲: <math>g(n, 1) = (X_1)^n \text{ for }n=0,1,\cdots,N</math>
▲: <math>g(0, m) = 1 \text{ for }m=1,2,\cdots,M</math>
==Implementation==
|