Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
#include <topologicalsorter.h>
Additional Inherited Members | |
Public Member Functions inherited from util::TopologicalSorter< T, stable_sort, Hash, KeyEqual > | |
TopologicalSorter () | |
TopologicalSorter (const TopologicalSorter &)=delete | |
This type is neither copyable nor movable. | |
TopologicalSorter & | operator= (const TopologicalSorter &)=delete |
~TopologicalSorter () | |
void | AddNode (const T &node) |
void | AddEdges (const std::vector< std::pair< T, T > > &edges) |
Shortcut to AddEdge() in bulk. Not optimized. | |
void | AddEdge (const T &from, const T &to) |
bool | GetNext (T *node, bool *cyclic_ptr, std::vector< T > *output_cycle_nodes=nullptr) |
int | GetCurrentFringeSize () |
void | StartTraversal () |
bool | TraversalStarted () const |
Definition at line 598 of file topologicalsorter.h.