This class keeps track of which nodes are upstream (needed to evaluate) a given node. More...
#include <WorkGraphPiece.h>
This class keeps track of which nodes are upstream (needed to evaluate) a given node.
Definition at line 17 of file WorkGraphPiece.h.
Public Member Functions | |
| UpstreamPredicate () | |
| UpstreamPredicate (boost::graph_traits< Graph >::vertex_descriptor const &baseNode, Graph const &graph) | |
| bool | operator() (const boost::graph_traits< Graph >::vertex_descriptor &node) const | 
| UpstreamPredicate::UpstreamPredicate | ( | ) | 
Definition at line 13 of file WorkGraphPiece.cpp.
| UpstreamPredicate::UpstreamPredicate | ( | boost::graph_traits< Graph >::vertex_descriptor const & | baseNode, | 
| Graph const & | graph | ||
| ) | 
Definition at line 15 of file WorkGraphPiece.cpp.
References UpstreamNodes().
| bool UpstreamPredicate::operator() | ( | const boost::graph_traits< Graph >::vertex_descriptor & | node | ) | const | 
Definition at line 19 of file WorkGraphPiece.cpp.
References doesDepend.
      
  | 
  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 24 of file WorkGraphPiece.cpp.
References doesDepend, nlohmann::detail::dtoa_impl::e, and UpstreamNodes().
Referenced by UpstreamNodes(), and UpstreamPredicate().
      
  | 
  private | 
A vector of all the nodes downstream of the input node.
Definition at line 28 of file WorkGraphPiece.h.
Referenced by operator()(), and UpstreamNodes().