dmv queue simulation
807607Oct 31 2006 — edited Nov 3 2006I need to write a program to simulate event that happen in the dmv using queues
Last week in class I wrote a simulation for a store register implementing a queue as a linkedlist but i did not write the test class so i dont know how the TA (teacher assistant) did declare the queue on the main method
I am suppose to have the information of customers from a file
something like this
L $ 2 A
R C 3 B
R C 12 C
L C 35 D
L $ 55 E
L C 100 F
R C 105 G
R $ 136 H
L C 169 I
where R mean renew registration, L renew license, C credit $ cash
I need to get started i am confused of how to declare the queue that it is going to hold the people going to the dmv also the various transactions have the following amount of time
sign in=10 seconds, renew license=90 seconds, registrar auto= 60 seconds, see cashier= 20 seconds(payment), see cashier (check not approved)=10 seconds