This class template provides data structures required to sort the partial unsorted edges into a total ordered set of nodes. The value type of the nodes(*) must be hashable and equality comparable by bsl::hash, and bsl::equal_to respectively.
Synopsis
Declared in <bdlb_topologicalsortutil.h>
template<class INPUT_ITER>
class TopologicalSortUtil_Helper;
Description
* (*) The value type is determined by first getting the iterator's value type using bsl::iterator_traits<INPUT_ITER>::ValueType and then using TopologicalSortUtilEdgeTraits::ValueType on that result.
Member Functions
Name |
Description |
|
Create a helper class that holds the different data structures required to sort in topological order the directed acyclic graph described by the specified |
Write the next element in order that doesn't have any predecessors into the specified |
|
Sort the input elements provided during construction in topological order and write the resulting linear ordered set into the specified |
|
Nested trait declaration for |
Created with MrDocs