18 distanceToFather_(node.distanceToFather_)
37 if (branch1 > branch2)
55 for (
size_t i = 0; i <
sons_.size(); i++)
A node class aware of its neighbours.
AwareNode()
Build a new void Node object.
AwareNode & operator=(const AwareNode &node)
Assignation operator.
virtual size_t getSonPosition(const AwareNode *son) const
virtual const AwareNode * getSon(size_t pos) const
virtual void removeSon(size_t pos)
virtual void swap(size_t branch1, size_t branch2)
std::vector< AwareNode * > sons_
virtual unsigned int getId() const
Get the node's id.
virtual void addSon(size_t pos, AwareNode *node)
std::string toString(T t)
Defines the basic types of data flow nodes.