seldon-code / seldon

A code for opinion dynamics simulations.
GNU General Public License v3.0
7 stars 2 forks source link

Simulation constructor refactor #35

Closed amritagos closed 8 months ago

amritagos commented 8 months ago

We have refactored simulation.hpp to handle different model creation code using model_factory.hpp. This means that logic branches are now confined mainly to main.cpp and a localized portion of simulation.hpp. In addition, we have implemented the basic Deffuant model, the Deffuant model on a square lattice, and a multi-dimensional Deffuant model with binary opinions.