This class keeps track of which nodes are downstream of a specified input. More...
#include <WorkGraphPiece.h>
This class keeps track of which nodes are downstream of a specified input.
Definition at line 57 of file WorkGraphPiece.h.
Public Member Functions | |
DependentPredicate () | |
Required default constructor. More... | |
DependentPredicate (boost::graph_traits< Graph >::vertex_descriptor const &baseNode, Graph const &graph) | |
bool | operator() (const boost::graph_traits< Graph >::vertex_descriptor &node) const |
DependentPredicate::DependentPredicate | ( | ) |
Required default constructor.
Definition at line 39 of file WorkGraphPiece.cpp.
DependentPredicate::DependentPredicate | ( | boost::graph_traits< Graph >::vertex_descriptor const & | baseNode, |
Graph const & | graph | ||
) |
[in] | baseNode | The input node — we what to know which nodes are downstream of this node |
[in] | graph | The graph holding all the nodes |
Definition at line 41 of file WorkGraphPiece.cpp.
References DownstreamNodes().
|
private |
[in] | baseNode | A node that depends on the input node (possible the input node itself) |
[in] | graph | The graph holding all the nodes |
Definition at line 50 of file WorkGraphPiece.cpp.
References doesDepend, and nlohmann::detail::dtoa_impl::e.
Referenced by DependentPredicate().
bool DependentPredicate::operator() | ( | const boost::graph_traits< Graph >::vertex_descriptor & | node | ) | const |
[in] | node | Any node in the graph |
Definition at line 45 of file WorkGraphPiece.cpp.
References doesDepend.
|
private |
A vector of all the nodes downstream of the input node.
Definition at line 76 of file WorkGraphPiece.h.
Referenced by DownstreamNodes(), and operator()().