This commit is contained in:
2020-02-13 15:16:49 -07:00
parent 51e97c74a4
commit 7272f50290
1203 changed files with 341812 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
import time
import problemGenerator
import highSchool
import divideConcur
def main():
count = 1
while True:
highTime = 0
dcTime = 0
highTimeStart = 0
dcTimeStart = 0
for i in range(0, 10):
P = problemGenerator.GenerateProblem(count)
Q = problemGenerator.GenerateProblem(count)
highTimeStart = time.time()
highSchool.HighSchool(count*32, P, Q)
highTime+=(time.time()-highTimeStart)
dcTimeStart = time.time()
divideConcur.DivideConcur(count*32, P, Q)
dcTime+=(time.time()-dcTimeStart)
print(i)
count += 1
print("Highschool Time: ", highTime/10)
print("DC Time: ", dcTime/10)
main()