The motivation for this algorithm is the result of the combinatorial explosion of the number of states that the system can be in.
Derivation
to avoid affecting the product.
This recursive relationship allows for the calculation of all up to any value of N in order time.
There is a more efficient algorithm for finding for some network. If it is assumed that , then the recursive relationship can be simplified as follows:
This simpler recursive relationship allows for the calculation of all up to any value of N to be found in order time.
Implementation
References
^Buzen, Jeffrey (1973). "Computational algorithms for closed queueing networks with exponential servers". Communications of the ACM. 16 (9). {{cite journal}}: Unknown parameter |month= ignored (help)[1]