7.8 Queue with service priorities Suppose that in the example of Section 7.3 we distinguished between two types of calls for police assistance: type 1 and type 2 calls. Type 1 calls enjoy nonpreemptive priority over type 2 calls. They also require constant service time, T1, on the scene, whereas type 2 calls require constant service time, T2, on the scene. Two-thirds of the calls on the average are type 2 calls and one-third are type 1. In all other respects, the operation of the single patrol car in this rectangular district is the same as described in Section 7.3. Draw a flowchart similar to that of Figure 7.25 that describes how you would simulate this situation. You will note that the flowchart of Figure 7.25 contains all the essential ideas that you will need to simulate the new situation. |