barber shop 1 barber customer queue. 2 c1c2c3 barber before opening customers waiting in queue

Download Barber Shop 1 Barber Customer Queue. 2 C1C2C3 Barber Before Opening Customers waiting in queue

Post on 14-Dec-2015

213 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

  • Slide 1

Barber Shop 1 Barber Customer Queue Slide 2 2 C1C2C3 Barber Before Opening Customers waiting in queue Slide 3 3 C1C2C3 Barber Barber Shop Opens C2C3 C1 Barber removes customer from the queue Barber wakes up customer after the hair cut Slide 4 4 C2C3 Barber Barber Shop Opens C3 C1C2 Slide 5 5 C3 Barber Barber Shop Opens C2C3 Slide 6 6 Barber Barber goes to sleep Slide 7 7 C4 Barber New Customer Comes Customer wakes up barber before goes to sleep C4 Slide 8 8 C5C6 Barber New Customer Comes C4 Slide 9 9 C5C6 Barber Barber Shop Closing C4 Barber should finish all waiting customers Slide 10 10 C5C6 Barber Barber Shop Closing C4 C7 New customers dont wait when shop is closing Slide 11 11 C6 Barber Barber Shop Closing C5 C8 New customers dont wait when shop is closing Slide 12 12 Barber Barber Shop Closing C6 C9 New customers dont wait when shop is closing Slide 13 13 Barber Barber Shop Closed Barber shop can open again Slide 14 14 C10C11 Barber Barber Shop Closed New customers wait when shop is closed Slide 15 15 C10C11 Barber Barber Shop Opens C11 C10 Barber removes customer from the queue Barber wakes up customer after the hair cut Slide 16 16 C11 Barber Closing Before Exiting C11 Slide 17 17 Barber Closing Before Exiting Asking user Yes/No Slide 18 18 C1C2C3 Barber User No Customers come and wait Slide 19 19 C1C2C3 Barber Exiting Before Opening Clear customer queue Slide 20 Test 4 (Final) 60 points 5:00 6:52, Tuesday, May 14 Section 1 and 2: Lab 009 20 Slide 21 Project Phase IV 40 points Demo by 11:30 AM, Friday, May 17 Drop solution before demo Evaluation email One hour before demo for each student Including yourself 21

Recommended

View more >