the discrete event framework for social influence models
New to defSim? Learn how to use defSim in this quick introduction or inspect our example notebooks at defSim-examples.
For a description of all of defSim's functions, see the documentation
How to install defSim
To install the package, you can use pip:
pip install defSim
Install the current github version using
pip install git+https://github.com/defSim/defSim
Similarly, to update from a previously installed version use
pip install git+https://github.com/defSim/defSim --upgrade
If you want to edit the code locally, clone the repository to a folder of your choice and execute
pip install . in that folder. If you change the package or pull changes run
pip install --upgrade . to update the changes.
This project adheres to Semantic Versioning.
- the wrapper functions Experiment and Simulation accept subclasses of AttributesInitializer, FocalAgentSelector, NeighborSelector and InfluenceOperator