j-helland / opinion-dynamics

Simulations of opinion dynamics models in C++.
1 stars 0 forks source link

Parameter value configs via JSON #2

Closed j-helland closed 3 years ago

j-helland commented 3 years ago

We need to have certain parameter values be specified by config files that can be dynamically loaded so that we don't have to re-compile just to change e.g. the graph dynamics update frequency.

j-helland commented 3 years ago

JSON file specifies global parameter values, which are loaded in main.cpp. These can be dynamically reloaded using the F5 key to avoid having to restart the simulation just to modify values.