1
0
mirror of https://github.com/gsi-upm/soil synced 2024-11-10 13:42:28 +00:00
soil/settings.py
2015-12-04 11:41:42 +01:00

38 lines
738 B
Python

# settings.py
def init():
global number_of_nodes
global max_time
global num_trials
global bite_prob
global network_type
global heal_prob
global innovation_prob
global imitation_prob
global timeout
global outside_effects_prob
global anger_prob
global joy_prob
global sadness_prob
global disgust_prob
network_type=1
number_of_nodes=200
max_time=1000
num_trials=1
timeout=10
#Zombie model
bite_prob=0.01 # 0-1
heal_prob=0.01 # 0-1
#Bass model
innovation_prob=0.01
imitation_prob=0.01
#SentimentCorrelation model
outside_effects_prob = 0.2
anger_prob = 0.08
joy_prob = 0.05
sadness_prob = 0.02
disgust_prob = 0.02