-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain.py
25 lines (22 loc) · 821 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import pickle
from scripts.save_read_community import (
community_unpack,
read_community_from_combined_file,
)
from simulation import Simulation
if __name__ == "__main__":
# Variables for the size of the simulation
number_of_communities = 10 ** 5
number_of_voting_simulations = 10 ** 5
number_of_nodes = 10 ** 2
# Simulation(
# filename_csv="data/clean",
# folder_communities="data/communities",
# number_of_communities=number_of_communities,
# number_of_voting_simulations=number_of_voting_simulations,
# number_of_nodes=number_of_nodes,
# elite_competence_range=(0.55, 0.7),
# mass_competence_range=(0.55, 0.7),
# number_of_elites_range=(25, 45),
# probability_homophilic_attachment_range=(0.5, 0.75),
# ).run()