#include <dag.hh>
Public Types | |
using | edge_list_t = std::list< size_t > |
Public Member Functions | |
dag_node () | |
template<typename... ARGS> | |
dag_node (size_t hash, std::string const &label, ARGS &&... args) | |
size_t const & | hash () const |
size_t & | hash () |
std::string const & | label () const |
std::string & | label () |
edge_list_t const & | edges () const |
edge_list_t & | edges () |
bool | initialize (dag_node const &node) |
The dag_node type defines a compile-time extensible node for the FleCSI dag data structure.
|
inline |
Constructor
|
inline |
Constructor.
hash | The node identifier. |
label | The string label of the node. |
ARGS | A variadic list of arguments that are passed to the node policy constructor. |
|
inline |
This method initializes the node state without overwriting any of the edge information. This is useful for allowing users to access the node from anywhere in the code in a way that does not destroy the graph.
node | The node. |