|
dispenso 1.4.1
A library for task parallelism
|
#include <graph.h>
Public Member Functions | |
| SubgraphT (const SubgraphT< N > &)=delete | |
| SubgraphT (SubgraphT< N > &&other) noexcept | |
| template<class T > | |
| N & | addNode (T &&f) |
| size_t | numNodes () const |
| const N & | node (size_t index) const |
| N & | node (size_t index) |
| template<class F > | |
| void | forEachNode (F &&func) const |
| template<class F > | |
| void | forEachNode (F &&func) |
| void | clear () |
Friends | |
| template<class T > | |
| class | GraphT |
A subgraph within a Graph, containing a collection of nodes that can be executed together.
| N | The node type (Node or BiPropNode). |
|
inlinenoexcept |
Construct a NodeType with a valid functor. This is not concurrency safe.
| f | A functor with signature void(). |
| void dispenso::SubgraphT< N >::clear | ( | ) |
Removes all dependency between nodes of this subgraph and other nodes, destroy this subgraph nodes. This is not concurrency safe.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |