Skip to content

Commit 2759244

Browse files
committed
Update __init__.py
1 parent 3d75d30 commit 2759244

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

benchmarks/WolfSheep/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +0,0 @@
1-
from .wolf_sheep import WolfSheep
2-
3-
if __name__ == "__main__":
4-
# for profiling this benchmark model
5-
import time
6-
7-
# model = WolfSheep(15, 25, 25, 60, 40, 0.2, 0.1, 20)
8-
model = WolfSheep(15, 100, 100, 1000, 500, 0.4, 0.2, 20)
9-
10-
start_time = time.perf_counter()
11-
for _ in range(100):
12-
model.step()
13-
14-
print(time.perf_counter() - start_time)

0 commit comments

Comments
 (0)