Supporting code for the paper Kaloyan Danovski, Sandro Meloni, Michele Starnini, "Cross-order induced behaviors in contagion dynamics on higher-order networks".
This repository contains:
- The main
hob_example.ipynbnotebook, showing a reduced version of the dynamics simulation, measure computation, and data analysis. - An auxiliary script of function definitions
utils.py. - An
environment.txtfile that can be used to set up your python environment usingpip(mainly you need thehypergraphxpackage).
For the experiments in the paper, we generate the data with the same method shown in the example, but apply a scirpt for distributed compitation on a SLURM-enabled HPC cluster at the Pompeu Fabra University. These are also available upon request.