1 #ifndef __DIADES__GRAPH__NODEIMPL__HH 2 #define __DIADES__GRAPH__NODEIMPL__HH 54 cout <<
"Node Id: " <<
id() <<
"\n";
55 cout <<
"Node Owner: " << &
owner() <<
"\n";
56 cout <<
"Number of input edges: " <<
inDeg() <<
"\n";
57 cout <<
"Number of output edges: " <<
outDeg() <<
"\n";
59 cout <<
"Invalid node" <<
"\n";
93 return id() < node.
id();
const Graph & owner() const
#define ensure(Exception, expr, message)
const Graph & owner() const
void setOwner(Graph &newOwner)
void setIdentifier(NodeId newId)
#define require(Exception, expr, message)
Namespace of the Diades project.
bool operator<(const Node &node) const
boost::adjacency_list Graph
void create(NodeId idt, Graph *own)
void printInformation() const