- run() - Method in class cmsc433.p2.Cook
-
This method defines what a Cook does, i.e., process orders
submitted by Eaters.
- run() - Method in class cmsc433.p2.Eater
-
This method defines what an Eater does: The eater attempts to
enter the restaurant (only successful if the restaurant has a
free table), place its order, and then leave the restaurant
when the order is complete.
- runSimulation(int, int, int, int) - Static method in class cmsc433.p2.Simulation
-
This function performs the simulation.