Skip to content

This program, given a directed graph, can calculate the shortest path between two nodes and the average distance between all nodes

License

Notifications You must be signed in to change notification settings

emanueleffe/Dijkstra_ShortestPath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This program, given a directed graph, can calculate the shortest path between two nodes and the average distance between all nodes. It acquires the graph from the file "input_centrali.txt" like this:

-Total number of nodes-

-Number of nodes linked to node 1-

-node_1- -node_2-

-node_1- -node_3-

...

-Number of nodes linked to node 2>

-node_2- -node_1-

-node_2- -node_3-

...

About

This program, given a directed graph, can calculate the shortest path between two nodes and the average distance between all nodes

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published