.. defSim documentation master file, created by sphinx-quickstart on Sat Jun 22 17:14:28 2019. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. Welcome to defSim's documentation! ================================== Here you can find the API documentation for the *discrete event framework for social influence models*. The package is freely `available on GitHub `_. defSim is a package that aims to be the modular standard for social influence models. With defSim you can run a single :class:`~defSim.Simulation`, execute a larger Simulation :class:`~defSim.Experiment`, or use any number of pre-programmed modules for your own idea or variation of a traditional social influence model. Using defSim is meant to save you time on programming functions that you will need in any social influence research project, but furthermore you make sure that your model remains strictly comparable ('aligned') with traditional models, and other models in the defSim-realm, while working completely open source by default. The flow of a single simulation run implemented by defSim looks like this: .. image:: fig/defSim-flow.png :width: 400 :alt: defSim workflow All elements on the left represent the separate modules. The :class:`~defSim.Simulation` class handles the execution of all modules as depicted in the flow chart, and returns a single row of results as a Pandas dataframe. The :class:`~defSim.Experiment` class handles multiple executions of the simulation class, calling the simulation class effectively a number of times (repetitions) for every user-given parameter combination. Alternatively, you might want to use just one of a couple of the pre-programmed modules, and use your own code to create a variation on the traditional social influence models. :doc:`Find out about the different modules and their relation to the interface on our modules overview page ` :doc:`Learn the basics of defSim on our introduction page ` ................................................................................ Contents of the documentation ============================= .. toctree:: About defSim Module overview Experiment class Simulation class Networks Agent features Focal agent selection Neighbor selector Influence Network evolution Dissimilarity updaters defSim.tools Extensions Credits ................................................................................ Indices and tables ================== * :ref:`genindex` * :ref:`modindex` * :ref:`search`