Skip to content

Commit

Permalink
example conf for activity driven model
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Sallermann committed Oct 10, 2023
1 parent 6bb5c24 commit 7a6f589
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions examples/ActivityDriven/conf.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[simulation]
model = "ActivityDriven"
# rng_seed = 120 # Leaving this empty will pick a random seed

[model]
max_iterations = 20 # If not set, max iterations is infinite

[ActivityDriven]
dt = 0.1 # Timestep for the integration of the coupled ODEs
m = 10 # Number of agents contacted, when the agent is active
eps = 0.01 # Minimum activity epsilon; a_i belongs to [epsilon,1]
gamma = 2.1 # Exponent of activity power law distribution of activities
homophily = 0.0 # aka beta. if zero, agents pick their interaction partners at random
reciprocity = 0.5 # probability that when agent i contacts j via weighted reservoir sampling, j also sends feedback to i. So every agent can have more than m incoming connections
alpha = 1.0 # Controversialness of the issue, must be greater than 0.
K = 1.0 # Social interaction strength

[network]
number_of_agents = 300
connections_per_agent = 10

0 comments on commit 7a6f589

Please sign in to comment.