-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmain.py
33 lines (21 loc) · 855 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
from dataProcessing import *
from textTester import *
def main():
#Input data ->Mahdi
customerInterArrivalTime = [1,2,3,4]
ableServiceTime = [5,6,7,8]
bakerServiceTime = [10,11,12,13]
ableBakerPriority = 0 #If 0 => Able is first if 1 => baker is first if 2 => randomly chosen
selectCustomerOrTime = True #If true customer number is given if false time period is given
customerCount = 100
timeLength = 0
# Data processing -> MrHs
if(selectCustomerOrTime):
count = customerCount
else:
count = timeLength
lili = customerGenerator(customerInterArrivalTime, ableServiceTime, bakerServiceTime, ableBakerPriority, selectCustomerOrTime, count)
# printing output using django -> Mahdi
test(lili)
return 0
main()