lab7
                Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| lab7 [2019/03/07 01:29] – franck | lab7 [2019/03/14 01:13] (current) – franck | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| Each customer, when they arrive, looks to see what the barber is doing. | Each customer, when they arrive, looks to see what the barber is doing. | ||
| - | The waiting room is represented by the class WaitingRoom and the barber and the customers are represented by Barber and Customer threads. | + | The waiting room is represented by the class WaitingRoom and the barber and the customers are represented by Barber and Customer threads. | 
| - | pi/index.html">here</a>.  Implement the classes WaitingRoom and Barber. | + | |
| Since randomization is used in some of the classes, different runs of the app may produce different outputs. | Since randomization is used in some of the classes, different runs of the app may produce different outputs. | ||
| Line 60: | Line 59: | ||
| In the above run, customers 4 and 0 leave before getting a haircut since all chairs in the waiting room are occupied. | In the above run, customers 4 and 0 leave before getting a haircut since all chairs in the waiting room are occupied. | ||
| - | To receive feedback, submit your code using the submit command:\\ | + | To receive feedback, submit your code **before** March 23 using the submit command:\\ | 
| < | < | ||
| submit 4315 lab7 <name of class> | submit 4315 lab7 <name of class> | ||
lab7.1551922173.txt.gz · Last modified:  by franck
                
                