Skip to content

Repository files navigation

ROOT-Sim Topology Library

Continuous Integration GitHub issues REUSE status

Brought to you by the High Performance Computing & Simulation (HPCS) Research Group


Overview

The ROOT-Sim Topology Library provides a collection of common topological structures designed for simulation models. It is a companion library for the ROOT-Sim framework, facilitating the setup and management of simulated physical or logical communication networks among Logical Processes (LPs).

Features

This library supports mapping, adjacency management, and random neighbor selection for a variety of geometries:

  • Linear/Ring Structures: Rings and Bidirectional Rings.
  • Grid Structures: Square meshes, Hexagonal meshes, and Tori.
  • Centralized Structures: Star topologies.
  • Fully Connected: Fully Connected Meshes (FCMESH).
  • Arbitrary Graphs: Custom Graph topologies with probability-weighted edges and custom data.

Integration

To use the topology library in your simulation models, include the main header:

#include <ROOT-Sim/topology.h>

This is a CMake-based C11 project. To build and link the library, ensure you have a C11-compliant compiler (like Clang or GCC) and CMake 3.12 or newer.

mkdir build
cd build
cmake ..
make

License

This project is licensed under the GPL-3.0-only license. See the LICENSES directory or the REUSE configuration for more details.

About

The ROOT-Sim topology library

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages