Skip to content

Introduction

gradysim.simulator

The simulator module implements an event-based network simulation populated by nodes whose behaviours are implemented as protocols. Use this module to implement simulations that run in prototype-mode completely in python, easy to run and setup.

This package implements a python event-based network simulator that is used to run protocols in prototype-mode. As an event-based simulator it is built around an event loop that is responsible for executing events in the simulator. You can use the simulation builder to create new simulations populated by nodes and enhanced by handlers that implement specific behaviour.