struct mrpt::graphs::CDirectedTree::TEdgeInfoο
#include <mrpt/graphs/CDirectedTree.h> struct TEdgeInfo { // fields TNodeID id; bool reverse; TYPE_EDGES data; // construction TEdgeInfo( TNodeID child_id_, bool direction_child_to_parent = false, const TYPE_EDGES& edge_data = TYPE_EDGES() ); };
Fieldsο
TNodeID id
The ID of the child node.
bool reverse
True if edge direction is child->parent, false if itβs parent->child.
TYPE_EDGES data
User data for this edge.
Constructionο
TEdgeInfo( TNodeID child_id_, bool direction_child_to_parent = false, const TYPE_EDGES& edge_data = TYPE_EDGES() )
Edge constructor from data.