Graph_Algo - shirabs/Ex_2 GitHub Wiki

In this class we solved a algorithmic problems as - What is the shortest path in the graph, does the graph is a connective graph, how to read graph from file and how save graph as file.


Methods

Create new graph.

Create copy of the graph.

This method get a graph from the user or from file and make him to the algo graph.

This method get a optional name and save the graph to a file.

This method check if exist a valid path from EVREY node to each.

This method get Src and Dest that represented by the key of the desired nodes and returns the length of the shortest path between src to dest.

This method get Src and Dest that represented by the key of the desired nodes and return the vertexes that should pass in the shortest path.

This method get group of Vertexes and return the most optional Path to visit each node in the targets List.

Create deep copy of the graph.

Get the Smallest node.

Check if we visit in all nodes.

Return string of the graph.

⚠️ **GitHub.com Fallback** ⚠️