FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
dag< NodePolicy > Struct Template Reference

Basic DAG type. More...

Public Member Functions

void add (graphviz &gv, const char *color="#c5def5") const
 Add the DAG to the given graphviz graph.
 
std::string const & label () const
 
sorted_type sort () const
 Topological sort using Kahn's algorithm.
 

Detailed Description

template<typename NodePolicy>
struct flecsi::util::dag< NodePolicy >

Basic DAG type.

Deprecated:
Unneeded for other interfaces.

Member Function Documentation

◆ label()

template<typename NodePolicy >
std::string const & label ( ) const
Returns
the DAG label.

◆ sort()

template<typename NodePolicy >
sorted_type sort ( ) const

Topological sort using Kahn's algorithm.

Returns
A valid sequence of the nodes in the DAG.

◆ add()

template<typename NodePolicy >
void add ( graphviz &  gv,
const char *  color = "#c5def5" 
) const

Add the DAG to the given graphviz graph.