From f1d1ed9199ea42b05ce5f0c0438250bb5056766a Mon Sep 17 00:00:00 2001 From: Serhii Hromov Date: Mon, 15 Jun 2020 13:45:09 +0000 Subject: [PATCH] ok --- main.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/main.py b/main.py index eaebd04..baef798 100644 --- a/main.py +++ b/main.py @@ -601,6 +601,15 @@ while True: if restaurant.left == 0: print("done in", totaltime) totaltime = 0 + + restaurant = Restaurant(3, 5) + waiter = Agent(2, 2) + clientTime = 10 + ticks = 0 + totaltime = 0 + IDLE = random.choice(S_IDLE) + FIRST = random.choice(S_FIRST) + #file = open('results.csv', 'a') #file.write("\n") #file.write(str(S_IDLE.index(IDLE)))