ok
This commit is contained in:
parent
c0ef80d3c7
commit
f1d1ed9199
9
main.py
9
main.py
@ -601,6 +601,15 @@ while True:
|
|||||||
if restaurant.left == 0:
|
if restaurant.left == 0:
|
||||||
print("done in", totaltime)
|
print("done in", totaltime)
|
||||||
totaltime = 0
|
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 = open('results.csv', 'a')
|
||||||
#file.write("\n")
|
#file.write("\n")
|
||||||
#file.write(str(S_IDLE.index(IDLE)))
|
#file.write(str(S_IDLE.index(IDLE)))
|
||||||
|
Loading…
Reference in New Issue
Block a user