/Exchangeable-network-ensemble

Primary LanguageMATLABGNU General Public License v3.0GPL-3.0

Exchangeable-network-ensemble

Code for generating exchangeable sparse simple networks using Metropolis-Hastings algorithm.

If you use any of these codes, please cite the paper: Ginestra Bianconi "Statistical physics of exchangeable sparse simple networks, multiplex networks, and simplicial complexes" Phys. Rev. E 105, 034310 (2022) https://doi.org/10.1103/PhysRevE.105.034310

This repository contains the following two MATLAB codes

'Metropolis_exponential.m':  Code for generating exchangeable sparse networks with exponential degree distribution
'Metropolis_power_law.m': Code for generating exchangeable sparse networks with power-law degree distribution