danielakuinchtner / Directed_Graph

This program implements a valued directed graph.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Directed_Graph

This program implements a valued directed graph using dijkstra.

Commands

  • R - READING: reads a text file (file.txt) containing the graph definition.
  • N - NEIGHBORHOOD: shows the neighborhood set of a vertex read from the keyboard.
  • S - DEGREE SEQUENCE: shows the sequence of degrees of the graph.
  • D - DIJKSTRA: shows the shortest path (according to the DIJKSTRA algorithm) between the source vertex and the target vertex read (if there is a path between them).
  • E - EXIT: ends the program.

This was an assignment for Data Structure II class by MSc Evandro Luís Viapiana from University of Passo Fundo (2016/1).

About

This program implements a valued directed graph.


Languages

Language:C++ 100.0%