Skip to content

Documentation for Addons Module

This package consists of several modules that handle different aspects of the network simulation:

  1. env.py:
  2. Manages the environment configuration and settings.
  3. It initializes the system environment, loads configuration parameters, and ensures correct operation of other components based on the simulation's settings.

  4. functions.py:

  5. Contains utility functions that are used across different parts of the simulation.
  6. It provides helper methods for common operations like data processing, mathematical calculations, and other reusable functionalities.

  7. mobility.py:

  8. Models and simulates the mobility of nodes within the network.
  9. It handles dynamic aspects of the simulation, such as node movement and position updates, based on mobility models and the simulation's configuration.

  10. reporter.py:

  11. Responsible for collecting and reporting data during the simulation.
  12. It tracks various system metrics, including node status and network performance, and periodically sends updates to a controller or dashboard for analysis and monitoring.

  13. topologymanager.py:

  14. Manages the topology of the network.
  15. It handles the creation and maintenance of the network's structure (e.g., nodes and their connections), including generating different types of topologies like ring, random, or fully connected based on simulation parameters.

Each of these modules plays a critical role in simulating a network environment, enabling real-time tracking, topology management, mobility simulation, and efficient reporting of results.