mirror of
https://github.com/JonasunderscoreJones/EPI-2324.git
synced 2025-10-23 16:39:21 +02:00
Updates (Ginta)
This commit is contained in:
parent
27ac0f86c9
commit
df295d1dfd
4 changed files with 284 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
'''EPRE Übung 7 Aufgabe 3'''
|
||||
__author__ = "7987847, Werner"
|
||||
__author__ = "7987847, Werner, 8004356, Gill"
|
||||
|
||||
import concurrent.futures
|
||||
import timeit
|
||||
|
@ -86,10 +86,7 @@ if __name__ == "__main__":
|
|||
for size, runtime in zip(matrix_sizes, recursive_runtimes):
|
||||
print(f"Size: {size}, Runtime: {runtime:.6f} seconds")
|
||||
|
||||
print("Recursive runtimes:")
|
||||
for size, runtime in zip(matrix_sizes, recursive_runtimes):
|
||||
print(f"Size: {size}, Runtime: {runtime:.6f} seconds")
|
||||
print(f"Size: {size}, Runtime: {runtime:.6f} seconds")
|
||||
|
||||
|
||||
try:
|
||||
import matplotlib.pyplot as plt
|
||||
|
@ -98,3 +95,6 @@ if __name__ == "__main__":
|
|||
|
||||
except ImportError:
|
||||
print("matplotlib not installed. Skipping plotting of results.")
|
||||
|
||||
|
||||
# Tests are in Documentation
|
Loading…
Add table
Add a link
Reference in a new issue