Commit fc531ecb authored by Oskar Skog's avatar Oskar Skog

Continuing experiment

parent 4c5dcde8
This diff is collapsed.
......@@ -217,8 +217,8 @@ def init_time(width, height, n_mines, runs=10):
def init_time_curve():
data = []
for i in range(121):
data = eval(open('init-time.curve').read())[:90]
for i in range(90, 121):
x = init_time(20, 20, i, 100)
data.append(x)
f = open('init-time.curve', 'w')
......
......@@ -3,7 +3,7 @@
'init-field': {
'procs': 2, # Default is to not overload.
'filename': '/tmp/mines.{0}',
'sec-maxtime': 3600, # Crash if initialization takes more
'sec-maxtime': 7200, # Crash if initialization takes more
# than one and a half minute.
'sec-maxarea': 1000000, # Crash if a huge field is requested.
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment