https://github.com/jmiszczak/three_way_opinion_spread
Implementation and description of experiments for three-way opinion spread
https://github.com/jmiszczak/three_way_opinion_spread
agent-based-modeling agent-based-simulation opinion-dynamics social-network-analysis
Last synced: 5 months ago
JSON representation
Implementation and description of experiments for three-way opinion spread
- Host: GitHub
- URL: https://github.com/jmiszczak/three_way_opinion_spread
- Owner: jmiszczak
- License: apache-2.0
- Created: 2022-03-03T19:30:56.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-16T11:05:51.000Z (almost 3 years ago)
- Last Synced: 2025-06-03T00:37:47.085Z (6 months ago)
- Topics: agent-based-modeling, agent-based-simulation, opinion-dynamics, social-network-analysis
- Language: NetLogo
- Homepage:
- Size: 451 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://zenodo.org/badge/latestdoi/465858115)
# three_way_opinion_spread
Implementation and description of experiments for three-way opinion spread
model based on the three channels of virus propagation.
## Files
The repository contains the following files:
- `v3w.netlogo` - model in NetLogo (tested with version 6.2.1)
- `run.sh` - cotroller for running the experiements, it will run the apopriate
experiements from `experiments.xml` (see below,
- `make_links.sh` - script for creating symbolik links for running headless NetLogo experiments,
- `expName.csv` - files with data obtained from *expName* experiment, created after running
the experiment
- `expName-*.py` - plotter files for data from *expName*, which might be based on data
from several experiments.
**Note**:
- All experiments were executed on Linux machines (Ubuntu 20.04 or 22.04),
- To run scripts controlling the experiments `netlogo-headless.sh` must be in
your $PATH.
- Model can be also obtained from Modeling Commons at http://www.modelingcommons.org/browse/one_model/6946
## How to run the code?
To run one of the experiements described in `experiements.xml`, execute
`make_links.sh` script. It will result in a number of symbolic links,
corresponding to the sections of XML file describing the experiments. Running
any of the scripts will start the corresponding experiement, eg.
```./exp7-realizations.sh```
## Publication
The presented results were published in
K. Domino, J.A. Miszczak, *Will you infect me with your opinion?*,
Physica A: Statistical Mechanics and its Applications
Vol. 608 (2022), 128289 DOI:[10.1016/j.physa.2022.128289](https://doi.org/10.1016/j.physa.2022.128289) arXiv:[2208.13426](https://arxiv.org/abs/2208.13426)
```
@article{domino2022will,
title = {Will you infect me with your opinion?},
author = {Domino, Krzysztof and Miszczak, Jaroslaw Adam},
journal = {Physica A: Statistical Mechanics and its Applications},
pages = {128289},
year = {2022},
doi = {10.1016/j.physa.2022.128289}
}
```