Skip to content

Commit a0821b1

Browse files
Output datetime on log.
1 parent 6e6ff90 commit a0821b1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

models/starComplexity.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
#print(ecolab.device())
33

44
from starComplexity import starC
5+
from datetime import datetime
56
nodes=22
67
# computed from max_{l\in[0,L]}min(n+L-l,2l) where L=n(n-1)/2
78
maxStars=0
@@ -11,7 +12,7 @@
1112
maxStars=max(maxStars,v)
1213

1314
print('maxStars=',maxStars)
14-
maxStars=8
15+
maxStars=12
1516

1617
#starC.blockSize(256)
1718
starC.blockSize(4096)
@@ -22,7 +23,7 @@
2223
starC.generateElementaryStars(nodes)
2324
for numStars in range(2,maxStars+1):
2425
starC.fillStarMap(numStars)
25-
print('completed',numStars)
26+
print('completed',numStars,datetime.now())
2627
starC.canonicaliseStarMap()
2728
with open(f'{nodes}-{maxStars}.csv','w') as out:
2829
print('id,links','*','C','C*','omega(g)','omega(g\')',sep=',',file=out)

0 commit comments

Comments
 (0)