home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 3 / Developers_Source_Vol_03_1996.iso / dobbs / mar95 / stal1f2.gif < prev    next >
Graphics Interchange Format  |  1996-01-10  |  69.2 KB  |  551x336  |  8-bit (133 colors)
   ocr: 1. queue-length update: Beginning with 90:=0, if the ith event is an arrival event, 9=g-1+1;ift the ith event is a departure event, 4=91-1-1. 2. - Queue-area integral) update: Area of the previous cycle = Area of the current cycle = 24-104-4-1) 2910-1-1) tel70,70 iel71.1) 3. Average queue-length update: Average queue length over the two cycles Area of the two cycles Area of the two cycles Time of the two cycles t-To Figure 2: Queue-length averaging algoritbm. t=current time; t=time ofitb arrival or. departure event; gi=number offrames in the system after the event; T,=time at the beginning oft ...