This repository contains a Jupyter Notebook that analyzes the performance of different routing algorithms in the presence of malicious nodes in a network. The analysis includes metrics such as the number of packets delivered, energy consumption, energy efficiency, and packet loss.
The following reinforcement learning based routing algorithms are analyzed:
To run the notebook, you need the following Python libraries:
pandas
matplotlib
numpy
You can install these libraries using pip
:
pip install pandas matplotlib numpy
The notebook covers the following aspects:
- Number of Packets Delivered: Compares how different routing algorithms perform regarding the number of packets successfully delivered as the number of malicious nodes increases.
- Energy Consumption: Analyzes the energy consumption of each routing algorithm in different scenarios.
- Energy Efficiency: Evaluates the energy efficiency of the algorithms.
- Packet Loss: Measures the packet loss rate for each algorithm as the number of malicious nodes changes.
This project is licensed under the MIT License.