In this repository, you will find all source code used during my internship on Random Hyberbolic Graphs under the direction of Dieter Mitsche (Université de Nice).
To install properly the files on your device, please do the following:
- create a main folder (ex: /Users/abarrier/Desktop/RHG),
- create a folder "python" in the main folder and put all the .py files into it,
- in each .py file (except RHG_functions.py), replace the #TODO at the beginnning of the file by the path of the main folder (ex: "/Users/abarrier/Desktop/RHG")
You can now run all files. If some figures are saved, all folders and files will be generated automatically.
Concerning the .py files:
- RHG_functions.py countains all the functions used in other files. You do not have to use it,
- RHG.py allows to do basic simulations on RHG (generation and simulation of a push & pull propagation),
- RHG_layrs.py is similar to RHG.py but is specific for the model that we call RHG in layers (see the report),
- RHG_simulations.py is the code used to generate most of the figures of the report. You can generate them by yourself.