Skip to content

Commit

Permalink
Add buchner_qtm_length script
Browse files Browse the repository at this point in the history
  • Loading branch information
camall3n committed Jun 18, 2021
1 parent 37a0d2d commit 82da854
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions notebooks/buchner_qtm_length.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from domains.cube import pattern

for start in range(10,20):
a = [len(pattern.buchner2018pattern(seed=s)) for s in range(start*10, (start+1)*10)]
print(start*10, sum(a)/len(a))
print()
a = [len(pattern.buchner2018pattern(seed=s)) for s in range(100, 200)]
print('min ', min(a))
print('mean', sum(a)/len(a))
print('max ', max(a))

0 comments on commit 82da854

Please sign in to comment.