Reticula: Temporal network and hypergraphs#

Reticula is a general purpose C++ library and Python package for fast and efficient analysis of temporal networks and static and temporal hypergraphs. Currently, the library supports multiple methods of generating and randomising networks, using various algorithms to calculate network properties and running those algorithms safely in a multi-threaded environment.

The names Reticula is the plural form of reticulum, a Latin word meaning network or a network-like (reticulated) structure.

You can install the latest version of the Python package from the Python Package Index, using the command:

$ python -m pip install --upgrade pip

The Python package is available on most relatively modern Linux systems, i.e., almost anything released since 2016, running on x64 CPUs. Support for Windows and MacOS operating systems and the ARM architecture will be introduced in a future version.

A brief example: Let us generate an Erdős–Rényi network and find its largest connected component:
import reticula as ret

state = ret.mersenne_twister(42)
g = ret.random_gnp_graph[ret.int64](n=100, p=0.02, random_state=state)

lcc = ret.largest_connected_component(g)

Running this script will print an output like this:

$ python
<component[int64] of 93 nodes: {99, 96, ...}>