Testing Implementation:
To implement our simulated model, we created two methods, one which initialized the “night” and another that would run through a step-by-step process of how the night would play out. Some of the steps followed in this process consisted of creating an arrival time for a party of a random size (ranging from 1 to 12, with a mean of 2), an anticipated order for the party, and the total time that the party spent in the queue. The initialization method was created to simulate a night at Salt & Smoke but adjustments in its inputs could be made to fit those of different restaurants.
The step-by-step process, which would call the data that we had initialized by creating a given night, would then run through all of our given scenarios to find the best option for the new party. It would find the first party to arrive and if possible seat them, and if not possible it would put them on a wait list until a table became available. through this we were able to create our simulated night which we would compare to the estimation method we created.
The step-by-step process, which would call the data that we had initialized by creating a given night, would then run through all of our given scenarios to find the best option for the new party. It would find the first party to arrive and if possible seat them, and if not possible it would put them on a wait list until a table became available. through this we were able to create our simulated night which we would compare to the estimation method we created.