#include <CDependencyGraph.h>
List of all members.
Detailed Description
CDependencyGraph describes a dependency graph.
Constructor & Destructor Documentation
CDependencyGraph::CDependencyGraph |
( |
| ) |
|
CDependencyGraph::~CDependencyGraph |
( |
| ) |
|
Member Function Documentation
void CDependencyGraph::addDependent |
( |
const unsigned C_INT32 & |
node, |
|
|
const unsigned C_INT32 & |
dependent |
|
) |
| |
Add a dependent for a particular node.
- Parameters:
-
node | The number of the node. |
dependent | The number of the dependent node. |
void CDependencyGraph::clear |
( |
| ) |
|
const std::set< unsigned C_INT32 > & CDependencyGraph::getDependents |
( |
const unsigned C_INT32 & |
node | ) |
const |
Retrieve a vector of dependents for a given node.
- Parameters:
-
node | The number of the node to access. |
- Returns:
- A vector of node numbers.
void CDependencyGraph::resize |
( |
const unsigned C_INT32 & |
n | ) |
|
Friends And Related Function Documentation
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const CDependencyGraph & |
d |
|
) |
| [friend] |
The documentation for this class was generated from the following files: