graph_algo.h File Reference
  #include "../containers/graph.h"#include "../containers/vertex.h"#include "../containers/edge.h"#include <unordered_map>#include <iostream>#include <vector>#include <iterator>#include <queue>#include <stack>Go to the source code of this file.
Functions | |
| template<typename OutputIter > | |
| OutputIter | topological_sort (UndirectedGraph &G, OutputIter dest) | 
| template<typename OutputIter > | |
| OutputIter | connected_components (UndirectedGraph &G, OutputIter dest) | 
Function Documentation
template<typename OutputIter > 
      | OutputIter connected_components | ( | UndirectedGraph & | G, | 
| OutputIter | dest | ||
| ) | 
template<typename OutputIter > 
      | OutputIter topological_sort | ( | UndirectedGraph & | G, | 
| OutputIter | dest | ||
| ) | 
Fills the input container with the topological order.
          
          
 1.8.9.1