This project aims to address the limitations of the baseline LSRA by exploring and implementing optimization techniques to improve its efficiency in calculating shortest paths. The focus will be on reducing the time complexity of the algorithm, particularly for large-scale network simulations.
- Enhance the efficiency of shortest path calculations.
- Reduce routing convergence time.
- Simplify LSRA implementation for network simulations.
- Python 3.8
- NetworkX: Used for network representation and pathfinding functionalities.
- Matplotlib: For plotting graphs and visualizing the results.
- User creates a graph with nodes and edges.
- The LSRAHierarchical module adds nodes and edges to the Graph.
- Clusters are formed within the Graph.
- Gateway nodes are assigned to the clusters.
- Paths are precomputed within each cluster.
- User requests the shortest path from a source node to a destination node.
- The shortest path is computed and returned to the user.
- Create a graph.
- Generate a connected graph with nodes and edges.
- Form clusters.
- Assign gateway nodes.
- Precompute paths.
- Check if source and target are in the same cluster.
- Combine intra-cluster and inter-cluster paths if necessary.
- Return shortest paths.
- The system consists of a user interacting with the LSRA-Hierarchical module.
- The LSRA-Hierarchical module utilizes the Graph component to represent the network topology with nodes and edges.
- The interactions involve creating, manipulating, and analyzing graphs to compute shortest paths and optimize network routing.
- The optimized algorithm reduces the computational overhead associated with maintaining and utilizing the network map in large-scale simulations.
- It also improves the adaptability of routers within the simulation to network changes, ensuring efficient routing convergence.
This project successfully addressed the challenge of improving the computational efficiency of the Link-State Routing Algorithm (LSRA) within network simulations. As network simulations become larger and more complex, traditional LSRA implementations can become a bottleneck, hindering simulation speed and scalability.
- Chinmay Paranjape
- Kushal Kaparatti
- Prathamesh Chitnis
This project is licensed under the MIT License. See the LICENSE file for more details.