/COS242-GraphTheory

Implementações para a disciplina de teoria dos grafos, ministrada pelo professor Daniel Figueiredo em 2016.1 na UFRJ

Primary LanguageC++

Graph Theory - COS242

Assignment 1

  • Breadth-first search (BFS);
  • Depth-first search (DFS);
  • Graph's diameter;
  • Adjacency Matrix;
  • Adjacency Vector.

Assignment 2

  • Dijkstra's algorithm;
  • Prim's algorithm;
  • Mean distance of two vertices of the graph.

Assignment 3