#include <CDependencyGraph.h>
CDependencyGraphNode describes a node in the dependency graph.
◆ CDependencyGraphNode()
CDependencyGraphNode::CDependencyGraphNode |
( |
| ) |
|
◆ ~CDependencyGraphNode()
CDependencyGraphNode::~CDependencyGraphNode |
( |
| ) |
|
◆ addDependent()
void CDependencyGraphNode::addDependent |
( |
const size_t & |
node_num | ) |
|
Add a dependent to the given node, represented by its node number. This then represents an edge in the graph.
- Parameters
-
const | size_t $ node_num The dependency, the node to which the edge connects. |
References mDependents.
◆ getDependents()
const std::set< size_t > & CDependencyGraphNode::getDependents |
( |
| ) |
const |
Return a vector of the dependents.
- Returns
- const std::set <size_t> & A vector of the dependents.
References mDependents.
◆ operator<<
◆ mDependents
std::set<size_t> CDependencyGraphNode::mDependents |
|
private |
A vector containing the edges for this node. An edge is specified by the remote node to which it connects.
Referenced by addDependent(), and getDependents().
The documentation for this class was generated from the following files: