Agent-Based Model for Opinion Formation

by Carlos Andres Devia

[This is work in progress]

If you want to install and get started please go to Getting Started

If you are very impatient you can get started in two ways:

Using Conda

  1. Fork and clone this repository.

  2. In a shell, move to the directory containing the repository.

  3. Type conda env create --file environment.yml

  4. Type conda activate f_abm_env

  5. Type python start.py, press enter to all the inputs to use the default values

  6. Go to ./simulation_results, there you should find a new directory with 3 images

  7. Type conda deactivate

Using venv

  1. Fork and clone this repository.

  2. In a shell, move to the directory containing the repository.

  3. Type python3 -m venv ./f_abm_env

  4. Type source ./f_abm_env/bin/activate

  5. Type pip install -r requirements.txt

  6. Type python start.py, press enter to all the inputs to use the default values

  7. Go to ./simulation_results, there you should find a new directory with 3 images

  8. Type deactivate

If you have problems during installation, please report the bug. If something is not clear, or you have suggestions please tell us!

Other useful links: