Skip to content

Code associated with the article Geometric description of clustering in directed networks.

Notifications You must be signed in to change notification settings

networkgeometry/directed-geometric-networks

Repository files navigation

Geometric description of clustering in directed networks

This repository contains the code associated with Geometric description of clustering in directed networks by A. Allard, M. Á. Serrano and M. Boguñá.

Installation

Installing and running this code requires CMake and Python 3.

  1. Clone this repository with the option --recurse-submodules
git clone --recurse-submodules https://github.com/networkgeometry/directed-geometric-networks.git
  1. Copy the directedS1_data subdirectory out of the project's root directory.
cp -R directed-geometric-networks/directed-geometric-networks_data .
  1. Compile the executables
cd directed-geometric-networks/analyze_networks; cmake .; make; cd ../..
cd directed-geometric-networks/infer_parameters; cmake .; make; cd ../..

Real-world network data

Real-world network data was downloaded from Netzschleuder. Each dataset was downloaded in the GraphML format (.xml.zst) in the directory directed-geometric-networks_data/real_networks/rough_data/netzschleuder/ and extracted in the proper format by running

python extract_edgelists.py

Generating the results and producing the figures

Details on how the results and the figures were generated are provided in the following notebooks

Paper

If you use this code, please consider citing:

Geometric description of clustering in directed networks
A. Allard, M. Á. Serrano and M. Boguñá
arXiv:2302.09055 (2023)

About

Code associated with the article Geometric description of clustering in directed networks.

Resources

Stars

Watchers

Forks

Packages

No packages published