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.
We have refactored
simulation.hpp
to handle different model creation code usingmodel_factory.hpp
. This means that logic branches are now confined mainly tomain.cpp
and a localized portion ofsimulation.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.