First of all i wanna thank you for takeing yor time. Problem is like this.
Assumptions:
1 In real life service time for a customer may vary but we are considering same for simplicity.
2 the unit time of the simulation is equal to the service time for one customer.
3 Teller B works only if teller A is busy.
4 Customer are served on FCFS basis.
program output:
1 Customer's arrival time at the bank.
2 Customer's departure time when service is done, and wait time of the customer.
3 print messege if teller is idle.
Conclusion of the simulation:
1 Average waiting time of customers.
2 percentage of idle time of teller A
3 percentage of idle time of teller B.
4 top three customer who waited the longest(print id and waiting time).
this is the problem. i have customer class asking id and time. random.cpp to genrate ramdom nos.and node.h and queue.h. Though i am having trouble in thinking about how to cal. unit time how customer will get served.and by the way i also have indefinite queue.h too we don't wanna loose customer do we?.
i will be very thankful to you guys just get me started.
Assumptions:
1 In real life service time for a customer may vary but we are considering same for simplicity.
2 the unit time of the simulation is equal to the service time for one customer.
3 Teller B works only if teller A is busy.
4 Customer are served on FCFS basis.
program output:
1 Customer's arrival time at the bank.
2 Customer's departure time when service is done, and wait time of the customer.
3 print messege if teller is idle.
Conclusion of the simulation:
1 Average waiting time of customers.
2 percentage of idle time of teller A
3 percentage of idle time of teller B.
4 top three customer who waited the longest(print id and waiting time).
this is the problem. i have customer class asking id and time. random.cpp to genrate ramdom nos.and node.h and queue.h. Though i am having trouble in thinking about how to cal. unit time how customer will get served.and by the way i also have indefinite queue.h too we don't wanna loose customer do we?.
i will be very thankful to you guys just get me started.