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.