21 Link ln(node, weight, _virtual);
22 sucessors.push_back(ln);
32 auto it = findSuc(node);
33 if (it != sucessors.end()) {
49 auto it = findSuc(node);
50 if (it == sucessors.end()) {
61 for (itr = sucessors.begin(); itr < sucessors.end(); itr++) {
62 if ((*itr).to() == node) {
66 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)