#include "pgr_topologicalSort.hpp"
template<class G>
class Pgr_topologicalSort< G >
Definition at line 47 of file pgr_topologicalSort.hpp.
◆ generatetopologicalSort()
Definition at line 63 of file pgr_topologicalSort.hpp.
65 std::vector< pgr_topologicalSort_t > results;
67 typedef typename std::vector< V > container;
71 CHECK_FOR_INTERRUPTS();
73 boost::topological_sort(graph.graph, std::back_inserter(c));
75 typename std::vector< V >::reverse_iterator ii;
76 for (ii = c.rbegin(); ii != c.rend(); ++ii) {
80 results.push_back(tmp);
References pgr_topologicalSort_t::sorted_v.
◆ topologicalSort()
The documentation for this class was generated from the following file: