Skip to content

Dijkstra's Single Source Shortest Path Algorithm using Fibonacci Heaps and an interesting application of the same

pritic/Network-Routing-Scheme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Network-Routing-Scheme

The project was implemented in two parts.

Part 1: Dijkstra's Single Source Shortest Path Algorithm using Fibonacci Heaps:

• Implemented Dijkstra's Single Source Shortest Path Algorithm to find and print the shortest path between any two given nodes in an undirected graph

• The algorithm is optimized in its runtime complexity by making use of Fibonacci Heaps to store the graph

Part 2: Routing Scheme:

• For every router in the network, its shortest path from every other router in the network is calculated with the help of implementation in Part 1

• Each router’s router table is constructed as sets of (Destination Router, Next hop router)

• These sets are inserted in a Binary Trie and the packets are forwarded to the next hop router using the Longest Prefix Matching Scheme (Care is taken to remove sub-tries from the Binary trie in which the next hop is the same for all destinations by doing a Post-Order Traversal)

About

Dijkstra's Single Source Shortest Path Algorithm using Fibonacci Heaps and an interesting application of the same

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published