Research Article

A Fast Simulation Model Based on Lindley’s Recursion for the G/G/1/K Queue

Algorithm 2

The queuing system.

Require:  , , , the number of entities to simulate .
Ensure:  , , , .
1: INITIALIZE: , , , , the number of blocked entities .
2: for  each entity   do
3:Set , .
4:Use Algorithm 1 and (21) to find .
5:if    then
6:Use (18) and (19) to find and , respectively.
7:.
8:else
9:.
10:end if
11: end for
12: