Using Java, in this program, the goal is to create functions or aka class that creates a network.
dijkstra algorithm will be needed to compute the distance of each vertex from a.
The functions that i will need in this class is:
1. undirectedgraph() – This function job is to create a undirected graph from using the network
2. distanceofgraph(a) – This function job is to compute the distance of each vertex from point a