copasi API
0.1
|
#include <CDependencyGraph.h>
Public Member Functions | |
CDependencyGraphNode () | |
~CDependencyGraphNode () | |
void | addDependent (const unsigned C_INT32 &node_num) |
const std::set< unsigned C_INT32 > & | getDependents () const |
Friends | |
std::ostream & | operator<< (std::ostream &os, const CDependencyGraphNode &d) |
CDependencyGraphNode describes a node in the dependency graph.
CDependencyGraphNode::CDependencyGraphNode | ( | ) |
Constructor
CDependencyGraphNode::~CDependencyGraphNode | ( | ) |
The destructor
void CDependencyGraphNode::addDependent | ( | const unsigned C_INT32 & | node_num | ) |
Add a dependent to the given node, represented by its node number. This then represents an edge in the graph.
const | unsigned C_INT32 $ node_num The dependency, the node to which the edge connects. |
const std::set< unsigned C_INT32 > & CDependencyGraphNode::getDependents | ( | ) | const |
Return a vector of the dependents.
std::ostream& operator<< | ( | std::ostream & | os, |
const CDependencyGraphNode & | d | ||
) | [friend] |
insert operator