Skip to content

Instantly share code, notes, and snippets.

View kudeh's full-sized avatar
💻

Kene Udeh kudeh

💻
View GitHub Profile
@kudeh
kudeh / DijkstrasLinkStateAlgorithm.java
Created March 1, 2017 21:50
Dijkstras Link State Algorithm. Finds the Shortest Path From Each Router to every other Router in the network. Produces the Forwarding Table For Each Router.
/**
DIJKSTRA'S LINK STATE ALGORITHM AUTHOR: KENE UDEH LANG: JAVA
DESCRIPTION: Implements the Dijkstras Link State Algorithm.
*/
import java.util.*;
public class DijkstrasLinkStateAlgorithm{
public List<Router> routers;
public List<Link> links;