Simulation of cars’ leaving (1)
Given simulation of service time
leaving time = arrival time + service time
e.g. Given arriving queue array and service time array, it is straight forward to calculate the leaving queue by addition.
arri. (min.) 9 11 15 20 22 29 31 34 37 44
serv.(min.) + 1 0 2 1 0 1 3 0 1 1
leav. (min.) 10 11 17 21 22 30 34 34 38 45