Skip to content
Snippets Groups Projects
Commit 0e8d8820 authored by Victor Ruelle's avatar Victor Ruelle
Browse files

Replace globals.py

parent a6cb7a6d
No related branches found
No related tags found
No related merge requests found
# from numpy.random import random as rd
eps = 0.1
debug = True
logging = False
console_writing = True
vals = [0.01,0.5,0.9]
max_column_generation_count = 50
max_depth = 10 #max number of branching
max_unmoving_count = 2*len(vals)
max_depth = 30 #max number of branching
max_time_for_shrinking = 5
max_size_for_shrinking = 4 #inclusive
max_global_time = 1000
vals = [0.01,0.5,0.9]
class modifiable_threshold():
def __init__(self,initial_value):
......@@ -17,4 +20,4 @@ class modifiable_threshold():
# self.value = 0.9
self.value = vals[(vals.index(self.value)+1)%len(vals)]
connected_threshold = modifiable_threshold(vals[0])
\ No newline at end of file
connected_threshold = modifiable_threshold(0.5)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment