|
using | node_t = dag_node< NODE_POLICY > |
|
using | node_map_t = std::map< size_t, node_t > |
|
using | node_vector_t = std::vector< node_t > |
|
using | node_list_t = std::list< node_t > |
|
|
std::string const & | label () const |
|
std::string & | label () |
|
node_map_t const & | nodes () const |
|
node_map_t & | nodes () |
|
node_t & | node (size_t hash) |
|
bool | initialize_node (node_t const &node) |
|
bool | add_edge (size_t to, size_t from) |
|
node_vector_t | sort () |
|
◆ add_edge()
template<typename NODE_POLICY >
This adds an edge to the graph. The edges are stored as edge dependencies, hence the semantic of to <- from.
- Parameters
-
to | The 'to' side of the directed dependency. |
from | The 'from' side of the directed dependency. |
- Returns
- A boolean value that can be used to capture additions at file scope.
◆ sort()
template<typename NODE_POLICY >
Topological sort of the DAG using Kahn's algorithm.
- Returns
- A std::vector<node_t> with a node ordering that respects the DAG dependencies.
The documentation for this struct was generated from the following file:
- /home/bergen/devel/tuxfan/flecsi/flecsi/utils/dag.hh