24 Link ln(node, weight, _virtual);
25 sucessors.push_back(ln);
35 auto it = findSuc(node);
36 if(it != sucessors.end())
51 auto it = findSuc(node);
52 if(it == sucessors.end())
62 for(itr=sucessors.begin(); itr<sucessors.end(); itr++)
63 if ((*itr).to() == node)
65 return sucessors.end();
Link holding all the links of a node.
bool addSuc(Node *node, float weight, bool _virtual=false)
class Node
bool removeSuc(Node *node)
std::vector< Link >::iterator LinkIterator
#define __CHECK_NULLPTR(_ptr)